From 33f3e452fba575d7be58e46d6f79dde1e571a89f Mon Sep 17 00:00:00 2001 From: Sauli Tähkäpää Date: Thu, 16 Oct 2014 09:00:03 +0300 Subject: Fix @since for isIPhone() and isIPad(). (#14424, #14423) Change-Id: I8b72b362134d564165a7037e0722c3ff28f59497 --- server/src/com/vaadin/server/WebBrowser.java | 2 ++ shared/src/com/vaadin/shared/VBrowserDetails.java | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/server/src/com/vaadin/server/WebBrowser.java b/server/src/com/vaadin/server/WebBrowser.java index cb5979d612..66018b02f2 100644 --- a/server/src/com/vaadin/server/WebBrowser.java +++ b/server/src/com/vaadin/server/WebBrowser.java @@ -295,6 +295,7 @@ public class WebBrowser implements Serializable { * * @return true if run on IPhone false if the user is not using IPhone or if * no information on the browser is present + * @since 7.3.3 */ public boolean isIPhone() { return browserDetails.isIPhone(); @@ -305,6 +306,7 @@ public class WebBrowser implements Serializable { * * @return true if run on IPad false if the user is not using IPad or if no * information on the browser is present + * @since 7.3.3 */ public boolean isIPad() { return browserDetails.isIPad(); diff --git a/shared/src/com/vaadin/shared/VBrowserDetails.java b/shared/src/com/vaadin/shared/VBrowserDetails.java index a85d031c49..fa21bddc96 100644 --- a/shared/src/com/vaadin/shared/VBrowserDetails.java +++ b/shared/src/com/vaadin/shared/VBrowserDetails.java @@ -479,7 +479,8 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run on iPhone. * - * @return + * @return true if run on iPhone, false otherwise + * @since 7.3.3 */ public boolean isIPhone() { return isIPhone; @@ -488,7 +489,8 @@ public class VBrowserDetails implements Serializable { /** * Tests if the browser is run on iPad. * - * @return + * @return true if run on iPad, false otherwise + * @since 7.3.3 */ public boolean isIPad() { return isIPad; -- cgit v1.2.3