aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2021-10-17 18:47:48 +0300
committerGitHub <noreply@github.com>2021-10-17 18:47:48 +0300
commit6f372b9ae07052d6b72322530cb2bbf40dcf1851 (patch)
treeb936de74eb0b08e9e980984d7001e1b4792931a4
parent9ef5665b9cbf498396dbf70c94fb4d05b4eea34c (diff)
downloadvaadin-framework-6f372b9ae07052d6b72322530cb2bbf40dcf1851.tar.gz
vaadin-framework-6f372b9ae07052d6b72322530cb2bbf40dcf1851.zip
Fixed JavaDoc for setting page title. (#12433)
-rw-r--r--server/src/main/java/com/vaadin/server/Page.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/server/Page.java b/server/src/main/java/com/vaadin/server/Page.java
index e7524f9fc3..976d86ff8e 100644
--- a/server/src/main/java/com/vaadin/server/Page.java
+++ b/server/src/main/java/com/vaadin/server/Page.java
@@ -1345,8 +1345,8 @@ public class Page implements Serializable {
* Sets the page title. The page title is displayed by the browser e.g. as
* the title of the browser window or as the title of the tab.
* <p>
- * If the title is set to null, it will not left as-is. Set to empty string
- * to clear the title.
+ * If this value is set to null, the previously set page title will be left
+ * as-is. Set to empty string to clear the title.
*
* @param title
* the page title to set