From 1f83a7d55c2531411478c815c90aef5e9d717184 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pekka=20Hyv=C3=B6nen?= Date: Thu, 30 Mar 2017 10:39:51 +0300 Subject: [PATCH] Add missing @since for 8.0.5 and 7.7.8 --- client/src/main/java/com/vaadin/client/ComputedStyle.java | 2 ++ client/src/main/java/com/vaadin/client/ui/VFlash.java | 2 +- server/src/main/java/com/vaadin/ui/themes/ValoTheme.java | 8 +++++--- .../main/java/com/vaadin/shared/ApplicationConstants.java | 4 +++- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/client/src/main/java/com/vaadin/client/ComputedStyle.java b/client/src/main/java/com/vaadin/client/ComputedStyle.java index e9108f2ee6..5f937ad372 100644 --- a/client/src/main/java/com/vaadin/client/ComputedStyle.java +++ b/client/src/main/java/com/vaadin/client/ComputedStyle.java @@ -370,6 +370,7 @@ public class ComputedStyle { * Returns the current height, padding and border from the DOM. * * @return the computed height including padding and borders + * @since 8.0.5 */ public double getHeightIncludingBorderPadding() { double h = getHeight(); @@ -385,6 +386,7 @@ public class ComputedStyle { * Returns the current width, padding and border from the DOM. * * @return the computed width including padding and borders + * @since 8.0.5 */ public double getWidthIncludingBorderPadding() { double w = getWidth(); diff --git a/client/src/main/java/com/vaadin/client/ui/VFlash.java b/client/src/main/java/com/vaadin/client/ui/VFlash.java index 6c45cf52ac..4a25a9cfcc 100644 --- a/client/src/main/java/com/vaadin/client/ui/VFlash.java +++ b/client/src/main/java/com/vaadin/client/ui/VFlash.java @@ -143,11 +143,11 @@ public class VFlash extends HTML { * * Triggers embed resizing if percentage sizes are in use. * - * @since 7.7.8 * @param slotOffsetHeight * offset height of the layout slot * @param slotOffsetWidth * offset width of the layout slot + * @since 7.7.8 */ public void setSlotHeightAndWidth(int slotOffsetHeight, int slotOffsetWidth) { diff --git a/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java b/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java index 93235ed00f..ab50fe9e49 100644 --- a/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java +++ b/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java @@ -114,6 +114,8 @@ public class ValoTheme { * Styles the notification to look like {@link Type#ERROR_MESSAGE}, without * setting the position and delay and without the close button. Can be * combined with any other Notification style. + * + * @since 8.0.5 */ public static final String NOTIFICATION_CRITICAL_ERROR = "critical-error"; @@ -1041,9 +1043,9 @@ public class ValoTheme { * *

* The text content of the logo should be very short, since the logo area - * only shows approximately three letters. Using one of the - * Vaadin Icons is a good way to quickly create a logo for your - * application. Vaadin Icons are included in the Valo theme. + * only shows approximately three letters. Using one of the Vaadin Icons is + * a good way to quickly create a logo for your application. Vaadin Icons + * are included in the Valo theme. *

* *

Example

diff --git a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java index 71b39c105c..6e79627095 100644 --- a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java @@ -80,7 +80,7 @@ public class ApplicationConstants implements Serializable { /** * Configuration parameter giving the (in some cases relative) URL to the * web application context root. - * + * * @since 8.0.3 */ public static final String CONTEXT_ROOT_URL = "contextRootUrl"; @@ -174,6 +174,8 @@ public class ApplicationConstants implements Serializable { /** * Content type to use for text/html responses (should always be UTF-8). + * + * @since 7.7.8 */ public static final String CONTENT_TYPE_TEXT_HTML_UTF_8 = "text/html; charset=utf-8"; -- 2.39.5