From b60ab78e7ca9ed232eac2388c3a9ca6e1af423af Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Wed, 3 May 2017 11:34:43 +0300 Subject: Add missing since tags for 8.1 (#9220) --- server/src/main/java/com/vaadin/event/CollapseEvent.java | 1 + server/src/main/java/com/vaadin/event/ExpandEvent.java | 1 + server/src/main/java/com/vaadin/server/BootstrapHandler.java | 4 ++++ server/src/main/java/com/vaadin/server/BootstrapResponse.java | 2 ++ server/src/main/java/com/vaadin/server/DependencyFilter.java | 4 ++-- server/src/main/java/com/vaadin/server/VaadinService.java | 4 ++-- server/src/main/java/com/vaadin/ui/Dependency.java | 2 +- server/src/main/java/com/vaadin/ui/Tree.java | 2 ++ 8 files changed, 15 insertions(+), 5 deletions(-) (limited to 'server/src/main') diff --git a/server/src/main/java/com/vaadin/event/CollapseEvent.java b/server/src/main/java/com/vaadin/event/CollapseEvent.java index ba740142e3..f0ba6d1907 100644 --- a/server/src/main/java/com/vaadin/event/CollapseEvent.java +++ b/server/src/main/java/com/vaadin/event/CollapseEvent.java @@ -79,6 +79,7 @@ public class CollapseEvent extends Component.Event { * * @param * the collapsed item's type + * @since 8.1 */ @FunctionalInterface public interface CollapseListener extends Serializable { diff --git a/server/src/main/java/com/vaadin/event/ExpandEvent.java b/server/src/main/java/com/vaadin/event/ExpandEvent.java index 775c368a12..ce11bd4d8c 100644 --- a/server/src/main/java/com/vaadin/event/ExpandEvent.java +++ b/server/src/main/java/com/vaadin/event/ExpandEvent.java @@ -78,6 +78,7 @@ public class ExpandEvent extends Component.Event { * * @param * the expanded item's type + * @since 8.1 */ @FunctionalInterface public interface ExpandListener extends Serializable { diff --git a/server/src/main/java/com/vaadin/server/BootstrapHandler.java b/server/src/main/java/com/vaadin/server/BootstrapHandler.java index e26518064d..bd091c6cc1 100644 --- a/server/src/main/java/com/vaadin/server/BootstrapHandler.java +++ b/server/src/main/java/com/vaadin/server/BootstrapHandler.java @@ -249,6 +249,7 @@ public abstract class BootstrapHandler extends SynchronizedRequestHandler { * Gets the URI resolver to use for bootstrap resources. * * @return the URI resolver + * @since 8.1 */ public BootstrapUriResolver getUriResolver() { if (uriResolver == null) { @@ -261,6 +262,8 @@ public abstract class BootstrapHandler extends SynchronizedRequestHandler { /** * The URI resolver used in the bootstrap process. + * + * @since 8.1 */ protected static class BootstrapUriResolver extends VaadinUriResolver { private final BootstrapContext context; @@ -352,6 +355,7 @@ public abstract class BootstrapHandler extends SynchronizedRequestHandler { * the session of the user to resolve the protocol for * @return the URL that frontend:// resolves to, possibly using another * internal protocol + * @since 8.1 */ public static String resolveFrontendUrl(VaadinSession session) { DeploymentConfiguration configuration = session.getConfiguration(); diff --git a/server/src/main/java/com/vaadin/server/BootstrapResponse.java b/server/src/main/java/com/vaadin/server/BootstrapResponse.java index f930055b6a..00a5ee9ca4 100644 --- a/server/src/main/java/com/vaadin/server/BootstrapResponse.java +++ b/server/src/main/java/com/vaadin/server/BootstrapResponse.java @@ -118,6 +118,7 @@ public abstract class BootstrapResponse extends EventObject { * * @param uriResolver * the uri resolver which is used + * @since 8.1 */ public void setUriResolver(VaadinUriResolver uriResolver) { assert this.uriResolver == null : "URI resolver should never be changed"; @@ -129,6 +130,7 @@ public abstract class BootstrapResponse extends EventObject { * Gets the URI resolver used in the bootstrap process. * * @return the URI resolver + * @since 8.1 */ public VaadinUriResolver getUriResolver() { return uriResolver; diff --git a/server/src/main/java/com/vaadin/server/DependencyFilter.java b/server/src/main/java/com/vaadin/server/DependencyFilter.java index f5ab634ce1..3c02e6acbc 100644 --- a/server/src/main/java/com/vaadin/server/DependencyFilter.java +++ b/server/src/main/java/com/vaadin/server/DependencyFilter.java @@ -27,7 +27,7 @@ import com.vaadin.ui.Dependency; * Filter for dependencies loaded using {@link StyleSheet @StyleSheet}, * {@link JavaScript @JavaScript} and {@link HtmlImport @HtmlImport}. * - * @since + * @since 8.1 */ public interface DependencyFilter extends Serializable { @@ -51,7 +51,7 @@ public interface DependencyFilter extends Serializable { /** * Provides context information for the dependency filter operation. * - * @since + * @since 8.1 */ public static class FilterContext implements Serializable { diff --git a/server/src/main/java/com/vaadin/server/VaadinService.java b/server/src/main/java/com/vaadin/server/VaadinService.java index 4bd2958eaf..1f687e91b0 100644 --- a/server/src/main/java/com/vaadin/server/VaadinService.java +++ b/server/src/main/java/com/vaadin/server/VaadinService.java @@ -1446,7 +1446,7 @@ public abstract class VaadinService implements Serializable { * filters, which is undefined. If you need a specific order, you can * override this method and alter the order. * - * @since + * @since 8.1 * @return the list of dependency filters to use for filtering resources, * not null * @throws ServiceException @@ -1469,7 +1469,7 @@ public abstract class VaadinService implements Serializable { * * @see #createDependencyFilters() * - * @since + * @since 8.1 * @return the dependency filters to pass resources dependencies through * before loading */ diff --git a/server/src/main/java/com/vaadin/ui/Dependency.java b/server/src/main/java/com/vaadin/ui/Dependency.java index 6274ae23e6..537887a9f2 100644 --- a/server/src/main/java/com/vaadin/ui/Dependency.java +++ b/server/src/main/java/com/vaadin/ui/Dependency.java @@ -181,7 +181,7 @@ public class Dependency implements Serializable { * defined filters and returns the filtered collection of dependencies to * load. * - * @since + * @since 8.1 * @param connectorTypes * the collection of connector classes to scan * @param manager diff --git a/server/src/main/java/com/vaadin/ui/Tree.java b/server/src/main/java/com/vaadin/ui/Tree.java index 8b34fdb06e..eb1af8443b 100644 --- a/server/src/main/java/com/vaadin/ui/Tree.java +++ b/server/src/main/java/com/vaadin/ui/Tree.java @@ -57,6 +57,8 @@ public class Tree extends Composite implements HasDataProvider { /** * String renderer that handles icon resources and stores their identifiers * into data objects. + * + * @since 8.1 */ public final class TreeRenderer extends AbstractRenderer implements DataGenerator { -- cgit v1.2.3