summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/main/java/com/vaadin/server/WebBrowser.java5
-rw-r--r--shared/src/main/java/com/vaadin/shared/VBrowserDetails.java5
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java6
3 files changed, 11 insertions, 5 deletions
diff --git a/server/src/main/java/com/vaadin/server/WebBrowser.java b/server/src/main/java/com/vaadin/server/WebBrowser.java
index b454da030c..fd32a42708 100644
--- a/server/src/main/java/com/vaadin/server/WebBrowser.java
+++ b/server/src/main/java/com/vaadin/server/WebBrowser.java
@@ -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();
diff --git a/shared/src/main/java/com/vaadin/shared/VBrowserDetails.java b/shared/src/main/java/com/vaadin/shared/VBrowserDetails.java
index 17a7cafff2..fcdbc5bf0e 100644
--- a/shared/src/main/java/com/vaadin/shared/VBrowserDetails.java
+++ b/shared/src/main/java/com/vaadin/shared/VBrowserDetails.java
@@ -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;
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java
index e6c488c011..a76c6927b6 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java
@@ -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;
}