summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2014-10-16 09:00:03 +0300
committerSauli Tähkäpää <sauli@vaadin.com>2014-10-16 09:00:03 +0300
commit33f3e452fba575d7be58e46d6f79dde1e571a89f (patch)
tree286a2c85b699c7a8f96fa1206c59157e3fe57c04
parent2a229b37b6c64aeb946b9f29542712cb06669dd4 (diff)
downloadvaadin-framework-33f3e452fba575d7be58e46d6f79dde1e571a89f.tar.gz
vaadin-framework-33f3e452fba575d7be58e46d6f79dde1e571a89f.zip
Fix @since for isIPhone() and isIPad(). (#14424, #14423)
Change-Id: I8b72b362134d564165a7037e0722c3ff28f59497
-rw-r--r--server/src/com/vaadin/server/WebBrowser.java2
-rw-r--r--shared/src/com/vaadin/shared/VBrowserDetails.java6
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;