瀏覽代碼

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

Change-Id: I8b72b362134d564165a7037e0722c3ff28f59497
tags/7.4.0.beta1
Sauli Tähkäpää 9 年之前
父節點
當前提交
e61fd1e8f8
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 2
    0
      server/src/com/vaadin/server/WebBrowser.java
  2. 4
    2
      shared/src/com/vaadin/shared/VBrowserDetails.java

+ 2
- 0
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();

+ 4
- 2
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;

Loading…
取消
儲存