summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2021-10-20 11:39:25 +0300
committerGitHub <noreply@github.com>2021-10-20 11:39:25 +0300
commitc8ff267f0d889ca558dd6d30dcde684b88e000ba (patch)
tree08eab5a3107acb53f154cceabddbebb1f626e549
parent3466780aedeea4a9385bfbdfee1748a2fe841a47 (diff)
downloadvaadin-framework-c8ff267f0d889ca558dd6d30dcde684b88e000ba.tar.gz
vaadin-framework-c8ff267f0d889ca558dd6d30dcde684b88e000ba.zip
Fixed JavaDoc for setting page title. (#12433) (#12446)
-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