Browse Source

Fix @since for isIPhone() and isIPad(). (#14424, #14423)

Change-Id: I8b72b362134d564165a7037e0722c3ff28f59497
tags/7.4.0.beta1
Sauli Tähkäpää 9 years ago
parent
commit
e61fd1e8f8

+ 2
- 0
server/src/com/vaadin/server/WebBrowser.java View File

@@ -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();

+ 4
- 2
shared/src/com/vaadin/shared/VBrowserDetails.java View File

@@ -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;

Loading…
Cancel
Save