]> source.dussan.org Git - vaadin-framework.git/commitdiff
Add missing since tags for 8.1.1 (#9773) 8.1.1
authorHenri Sara <henri.sara@gmail.com>
Thu, 3 Aug 2017 08:40:26 +0000 (11:40 +0300)
committerGitHub <noreply@github.com>
Thu, 3 Aug 2017 08:40:26 +0000 (11:40 +0300)
server/src/main/java/com/vaadin/server/WebBrowser.java
shared/src/main/java/com/vaadin/shared/VBrowserDetails.java
shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java

index b454da030c50e0f68d41bbfe7b727165fef408df..fd32a42708721de7d903b3a40b9bc0d30313a774 100644 (file)
@@ -332,8 +332,9 @@ public class WebBrowser implements Serializable {
     /**
      * Tests if the browser is run on ChromeOS (e.g. a Chromebook).
      *
-     * @return true if run on ChromeOS false if the user is not using ChromeOS or if no
-     *         information on the browser is present
+     * @return true if run on ChromeOS false if the user is not using ChromeOS
+     *         or if no information on the browser is present
+     * @since 8.1.1
      */
     public boolean isChromeOS() {
         return browserDetails.isChromeOS();
index 17a7cafff28da85322e65f5dd3d1e2ca8d783b1e..fcdbc5bf0e0b8c23273aae819e160e39547842d6 100644 (file)
@@ -218,7 +218,7 @@ public class VBrowserDetails implements Serializable {
             } else {
                 os = OperatingSystem.MACOSX;
             }
-        } else if (userAgent.contains("; cros ")){
+        } else if (userAgent.contains("; cros ")) {
             os = OperatingSystem.CHROMEOS;
             isChromeOS = true;
             parseChromeOSVersion(userAgent);
@@ -262,7 +262,7 @@ public class VBrowserDetails implements Serializable {
             }
         }
     }
-    
+
     private void parseAndroidVersion(String userAgent) {
         // Android 5.1;
         if (!userAgent.contains("android")) {
@@ -605,6 +605,7 @@ public class VBrowserDetails implements Serializable {
      * Tests if the browser is run on Chrome OS (e.g. a Chromebook).
      *
      * @return true if run on Chrome OS, false otherwise
+     * @since 8.1.1
      */
     public boolean isChromeOS() {
         return isChromeOS;
index e6c488c0115083293e31046a00124e092beb163c..a76c6927b690bd5d394813d3c0c8184b299d7f94 100644 (file)
@@ -80,6 +80,10 @@ public class SectionState implements Serializable {
     /** The rows in this section. */
     public List<RowState> rows = new ArrayList<>();
 
-    /** Visibility of this section. */
+    /**
+     * Visibility of this section.
+     *
+     * @since 8.1.1
+     */
     public boolean visible = true;
 }