aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-04-27 13:46:05 +0300
committerIlia Motornyi <elmot@vaadin.com>2017-04-27 13:46:05 +0300
commitac73dd5197d2d7e58f1f069e2c28c658498c8cbe (patch)
treedc38538598752439ca7b463f4625426ec718f487 /server
parenta1d5d964815cd2acc7516be73d0649c87070e3fd (diff)
downloadvaadin-framework-ac73dd5197d2d7e58f1f069e2c28c658498c8cbe.tar.gz
vaadin-framework-ac73dd5197d2d7e58f1f069e2c28c658498c8cbe.zip
Add since tags for 8.1
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/server/WebBrowser.java1
-rw-r--r--server/src/main/java/com/vaadin/server/osgi/BootstrapContribution.java13
-rw-r--r--server/src/main/java/com/vaadin/ui/NativeSelect.java4
3 files changed, 13 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 badc27c323..82f5e2df79 100644
--- a/server/src/main/java/com/vaadin/server/WebBrowser.java
+++ b/server/src/main/java/com/vaadin/server/WebBrowser.java
@@ -545,6 +545,7 @@ public class WebBrowser implements Serializable {
*
* @return <code>true</code> if the browser supports ES6, <code>false</code>
* otherwise.
+ * @since 8.1
*/
public boolean isEs6Supported() {
if (browserDetails == null) {
diff --git a/server/src/main/java/com/vaadin/server/osgi/BootstrapContribution.java b/server/src/main/java/com/vaadin/server/osgi/BootstrapContribution.java
index 0a320ed6e5..c68ed518ba 100644
--- a/server/src/main/java/com/vaadin/server/osgi/BootstrapContribution.java
+++ b/server/src/main/java/com/vaadin/server/osgi/BootstrapContribution.java
@@ -22,9 +22,16 @@ import org.osgi.service.http.HttpService;
import org.osgi.service.http.NamespaceException;
import com.vaadin.osgi.resources.OSGiVaadinResources;
-import com.vaadin.osgi.resources.VaadinResourceService;
import com.vaadin.osgi.resources.OSGiVaadinResources.ResourceBundleInactiveException;
+import com.vaadin.osgi.resources.VaadinResourceService;
+/**
+ * OSGi service component registering bootstrap JS as published resources in
+ * OSGi environments.
+ *
+ * @author Vaadin Ltd
+ * @since 8.1
+ */
@Component(immediate = true)
public class BootstrapContribution {
private static final String[] RESOURCES = { "vaadinBootstrap.js",
@@ -41,10 +48,10 @@ public class BootstrapContribution {
@Reference
void setHttpService(HttpService service) {
- this.httpService = service;
+ httpService = service;
}
void unsetHttpService(HttpService service) {
- this.httpService = null;
+ httpService = null;
}
}
diff --git a/server/src/main/java/com/vaadin/ui/NativeSelect.java b/server/src/main/java/com/vaadin/ui/NativeSelect.java
index a0d5741262..9800ba62df 100644
--- a/server/src/main/java/com/vaadin/ui/NativeSelect.java
+++ b/server/src/main/java/com/vaadin/ui/NativeSelect.java
@@ -208,7 +208,7 @@ public class NativeSelect<T> extends AbstractSingleSelect<T>
* Sets the number of items that are visible. If only one item is visible,
* then the box will be displayed as a drop-down list (the default).
*
- * @since
+ * @since 8.1
* @param visibleItemCount
* the visible item count
* @throws IllegalArgumentException
@@ -226,7 +226,7 @@ public class NativeSelect<T> extends AbstractSingleSelect<T>
* Gets the number of items that are visible. If only one item is visible,
* then the box will be displayed as a drop-down list.
*
- * @since
+ * @since 8.1
* @return the visible item count
*/
public int getVisibleItemCount() {