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

* *
* @return true if run on IPhone false if the user is not using IPhone or if * @return true if run on IPhone false if the user is not using IPhone or if
* no information on the browser is present * no information on the browser is present
* @since 7.3.3
*/ */
public boolean isIPhone() { public boolean isIPhone() {
return browserDetails.isIPhone(); return browserDetails.isIPhone();
* *
* @return true if run on IPad false if the user is not using IPad or if no * @return true if run on IPad false if the user is not using IPad or if no
* information on the browser is present * information on the browser is present
* @since 7.3.3
*/ */
public boolean isIPad() { public boolean isIPad() {
return browserDetails.isIPad(); return browserDetails.isIPad();

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

/** /**
* Tests if the browser is run on iPhone. * Tests if the browser is run on iPhone.
* *
* @return
* @return true if run on iPhone, false otherwise
* @since 7.3.3
*/ */
public boolean isIPhone() { public boolean isIPhone() {
return isIPhone; return isIPhone;
/** /**
* Tests if the browser is run on iPad. * Tests if the browser is run on iPad.
* *
* @return
* @return true if run on iPad, false otherwise
* @since 7.3.3
*/ */
public boolean isIPad() { public boolean isIPad() {
return isIPad; return isIPad;

Loading…
Cancel
Save