diff options
author | Henri Sara <henri.sara@gmail.com> | 2017-08-03 11:40:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-03 11:40:26 +0300 |
commit | 6154f3a9cbabd458510f2aad2a3e6f58a8478a87 (patch) | |
tree | ae0b361a869509c79493d107514700e2fcea6396 /shared | |
parent | c5f8f4269eda84bc1353985cba3d8285a9b1fcc3 (diff) | |
download | vaadin-framework-6154f3a9cbabd458510f2aad2a3e6f58a8478a87.tar.gz vaadin-framework-6154f3a9cbabd458510f2aad2a3e6f58a8478a87.zip |
Add missing since tags for 8.1.1 (#9773)8.1.1
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/VBrowserDetails.java | 5 | ||||
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/grid/SectionState.java | 6 |
2 files changed, 8 insertions, 3 deletions
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; } |