From c8ff267f0d889ca558dd6d30dcde684b88e000ba Mon Sep 17 00:00:00 2001 From: Anna Koskinen Date: Wed, 20 Oct 2021 11:39:25 +0300 Subject: [PATCH] Fixed JavaDoc for setting page title. (#12433) (#12446) --- server/src/main/java/com/vaadin/server/Page.java | 4 ++-- 1 file 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. *

- * 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 -- 2.39.5