From 95333e50c65521476d3d166c8f255ccda14221e0 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Leif=20=C3=85strand?=
Date: Thu, 18 Dec 2014 15:53:31 +0200
Subject: [PATCH] Missing @since for 7.4
Change-Id: I8fdf0c264febf2ab9ae0f230f6bb357ef57be9ec
---
.../com/vaadin/client/ApplicationConfiguration.java | 4 ++++
client/src/com/vaadin/client/Util.java | 2 ++
server/src/com/vaadin/annotations/Viewport.java | 2 ++
.../com/vaadin/annotations/ViewportGeneratorClass.java | 2 ++
.../data/fieldgroup/DefaultFieldGroupFieldFactory.java | 7 +++++++
.../vaadin/data/util/AbstractInMemoryContainer.java | 8 ++++++--
server/src/com/vaadin/data/util/BeanItem.java | 2 ++
server/src/com/vaadin/data/util/BeanUtil.java | 2 ++
.../vaadin/server/AbstractDeploymentConfiguration.java | 2 ++
server/src/com/vaadin/server/BrowserWindowOpener.java | 8 ++++++++
.../src/com/vaadin/server/DeploymentConfiguration.java | 10 ++++++++++
server/src/com/vaadin/server/ViewportGenerator.java | 2 ++
server/src/com/vaadin/ui/AbstractComponent.java | 2 ++
server/src/com/vaadin/ui/AbstractSelect.java | 2 ++
server/src/com/vaadin/ui/Calendar.java | 2 +-
server/src/com/vaadin/util/ReflectTools.java | 3 +++
16 files changed, 57 insertions(+), 3 deletions(-)
diff --git a/client/src/com/vaadin/client/ApplicationConfiguration.java b/client/src/com/vaadin/client/ApplicationConfiguration.java
index 4865e38a4a..0ef37df130 100644
--- a/client/src/com/vaadin/client/ApplicationConfiguration.java
+++ b/client/src/com/vaadin/client/ApplicationConfiguration.java
@@ -491,6 +491,8 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Return Atmosphere version.
*
+ * @since 7.4
+ *
* @return Atmosphere version.
*/
public String getAtmosphereVersion() {
@@ -500,6 +502,8 @@ public class ApplicationConfiguration implements EntryPoint {
/**
* Return Atmosphere JS version.
*
+ * @since 7.4
+ *
* @return Atmosphere JS version.
*/
public String getAtmosphereJSVersion() {
diff --git a/client/src/com/vaadin/client/Util.java b/client/src/com/vaadin/client/Util.java
index 1cdd8fb458..585045ddd5 100644
--- a/client/src/com/vaadin/client/Util.java
+++ b/client/src/com/vaadin/client/Util.java
@@ -1264,6 +1264,8 @@ public class Util {
/**
* Gets currently focused element and checks if it's editable
*
+ * @since 7.4
+ *
* @return true if focused element is editable
*/
public static boolean isFocusedElementEditable() {
diff --git a/server/src/com/vaadin/annotations/Viewport.java b/server/src/com/vaadin/annotations/Viewport.java
index 67acae8c23..c5b0abd56f 100644
--- a/server/src/com/vaadin/annotations/Viewport.java
+++ b/server/src/com/vaadin/annotations/Viewport.java
@@ -29,6 +29,8 @@ import java.lang.annotation.Target;
* If you want to dynamically provide different viewport values for different
* browser, you should use {@link ViewportGeneratorClass} instead.
*
+ * @since 7.4
+ *
* @author Vaadin Ltd
*/
@Target(ElementType.TYPE)
diff --git a/server/src/com/vaadin/annotations/ViewportGeneratorClass.java b/server/src/com/vaadin/annotations/ViewportGeneratorClass.java
index 7565ad7bae..aec7ac07e6 100644
--- a/server/src/com/vaadin/annotations/ViewportGeneratorClass.java
+++ b/server/src/com/vaadin/annotations/ViewportGeneratorClass.java
@@ -34,6 +34,8 @@ import com.vaadin.server.ViewportGenerator;
*
* @see ViewportGenerator
*
+ * @since 7.4
+ *
* @author Vaadin Ltd
*/
@Target(ElementType.TYPE)
diff --git a/server/src/com/vaadin/data/fieldgroup/DefaultFieldGroupFieldFactory.java b/server/src/com/vaadin/data/fieldgroup/DefaultFieldGroupFieldFactory.java
index 9c2e4b2f83..98fed3ad01 100644
--- a/server/src/com/vaadin/data/fieldgroup/DefaultFieldGroupFieldFactory.java
+++ b/server/src/com/vaadin/data/fieldgroup/DefaultFieldGroupFieldFactory.java
@@ -52,6 +52,13 @@ public class DefaultFieldGroupFieldFactory implements FieldGroupFieldFactory {
protected DefaultFieldGroupFieldFactory() {
}
+ /**
+ * Gets the singleton instance.
+ *
+ * @since 7.4
+ *
+ * @return the singleton instance
+ */
public static DefaultFieldGroupFieldFactory get() {
return INSTANCE;
}
diff --git a/server/src/com/vaadin/data/util/AbstractInMemoryContainer.java b/server/src/com/vaadin/data/util/AbstractInMemoryContainer.java
index b19cddb021..27168694e6 100644
--- a/server/src/com/vaadin/data/util/AbstractInMemoryContainer.java
+++ b/server/src/com/vaadin/data/util/AbstractInMemoryContainer.java
@@ -897,10 +897,12 @@ public abstract class AbstractInMemoryContainer
* Unless subclasses specify otherwise, the default notification indicates a
* full refresh.
*
+ * @since 7.4
+ *
* @param postion
* position of the added item in the view (if visible)
* @param itemId
@@ -915,10 +917,12 @@ public abstract class AbstractInMemoryContainer
* Unless subclasses specify otherwise, the default notification indicates a
* full refresh.
*
+ * @since 7.4
+ *
* @param postion
* position of the removed item in the view prior to removal (if
* was visible)
diff --git a/server/src/com/vaadin/data/util/BeanItem.java b/server/src/com/vaadin/data/util/BeanItem.java
index 1be8b70f47..71f51c3feb 100644
--- a/server/src/com/vaadin/data/util/BeanItem.java
+++ b/server/src/com/vaadin/data/util/BeanItem.java
@@ -74,6 +74,8 @@ public class BeanItem extends PropertysetItem {
* are methods are not supported.
*
*
+ * @since 7.4
+ *
* @param bean
* the Java Bean to copy properties from.
* @param beanClass
diff --git a/server/src/com/vaadin/data/util/BeanUtil.java b/server/src/com/vaadin/data/util/BeanUtil.java
index e2f85a765c..1356cf5359 100644
--- a/server/src/com/vaadin/data/util/BeanUtil.java
+++ b/server/src/com/vaadin/data/util/BeanUtil.java
@@ -27,6 +27,8 @@ import java.util.List;
/**
* Utility class for Java Beans information access.
*
+ * @since 7.4
+ *
* @author Vaadin Ltd
*/
public final class BeanUtil implements Serializable {
diff --git a/server/src/com/vaadin/server/AbstractDeploymentConfiguration.java b/server/src/com/vaadin/server/AbstractDeploymentConfiguration.java
index 43d4570d90..2554e421c8 100644
--- a/server/src/com/vaadin/server/AbstractDeploymentConfiguration.java
+++ b/server/src/com/vaadin/server/AbstractDeploymentConfiguration.java
@@ -19,6 +19,8 @@ package com.vaadin.server;
* An abstract base class for DeploymentConfiguration implementations. This
* class provides default implementation for common config properties.
*
+ * @since 7.4
+ *
* @author Vaadin Ltd
*/
public abstract class AbstractDeploymentConfiguration implements
diff --git a/server/src/com/vaadin/server/BrowserWindowOpener.java b/server/src/com/vaadin/server/BrowserWindowOpener.java
index 8cc1faa728..c1b8cbe91e 100644
--- a/server/src/com/vaadin/server/BrowserWindowOpener.java
+++ b/server/src/com/vaadin/server/BrowserWindowOpener.java
@@ -130,6 +130,8 @@ public class BrowserWindowOpener extends AbstractExtension {
* be opened in a new browser window/tab when the extended component is
* clicked.
*
+ * @since 7.4
+ *
* @param url
* URL to open
*/
@@ -142,6 +144,8 @@ public class BrowserWindowOpener extends AbstractExtension {
* {@code resource} will be opened in a new browser window/tab when the
* extended component is clicked.
*
+ * @since 7.4
+ *
* @param resource
* resource to open
*/
@@ -152,6 +156,8 @@ public class BrowserWindowOpener extends AbstractExtension {
/**
* Returns the resource for this instance.
*
+ * @since 7.4
+ *
* @return resource to open browser window
*/
public Resource getResource() {
@@ -163,6 +169,8 @@ public class BrowserWindowOpener extends AbstractExtension {
* {@code null} if this instance is not URL resource based (a non URL based
* resource has been set for it).
*
+ * @since 7.4
+ *
* @return URL to open in the new browser window/tab when the extended
* component is clicked
*/
diff --git a/server/src/com/vaadin/server/DeploymentConfiguration.java b/server/src/com/vaadin/server/DeploymentConfiguration.java
index 3124729773..3c20518c39 100644
--- a/server/src/com/vaadin/server/DeploymentConfiguration.java
+++ b/server/src/com/vaadin/server/DeploymentConfiguration.java
@@ -166,12 +166,16 @@ public interface DeploymentConfiguration extends Serializable {
* Gets UI class configuration option value.
*
* @return UI class name
+ *
+ * @since 7.4
*/
public String getUIClassName();
/**
* Gets UI provider class configuration option value.
*
+ * @since 7.4
+ *
* @return UI class name
*/
public String getUIProviderClassName();
@@ -180,17 +184,23 @@ public interface DeploymentConfiguration extends Serializable {
* Gets Widgetset configuration option value. {@code defaultValue} is
* returned if widgetset parameter is not configured.
*
+ * @since 7.4
+ *
* @return UI class name
*/
public String getWidgetset(String defaultValue);
/**
* Gets resources path configuration option value.
+ *
+ * @since 7.4
*/
public String getResourcesPath();
/**
* Gets class loader configuration option value.
+ *
+ * @since 7.4
*/
public String getClassLoaderName();
diff --git a/server/src/com/vaadin/server/ViewportGenerator.java b/server/src/com/vaadin/server/ViewportGenerator.java
index b9b5776939..33cc1341af 100644
--- a/server/src/com/vaadin/server/ViewportGenerator.java
+++ b/server/src/com/vaadin/server/ViewportGenerator.java
@@ -22,6 +22,8 @@ import java.io.Serializable;
*
* @see ViewportGenerator
*
+ * @since 7.4
+ *
* @author Vaadin Ltd
*/
public interface ViewportGenerator extends Serializable {
diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java
index 46ad9a9c16..735fb15fd8 100644
--- a/server/src/com/vaadin/ui/AbstractComponent.java
+++ b/server/src/com/vaadin/ui/AbstractComponent.java
@@ -1189,6 +1189,8 @@ public abstract class AbstractComponent extends AbstractClientConnector
* methods. Typically these are handled in a custom way in the overridden
* versions of the above methods
*
+ * @since 7.4
+ *
* @return the collection of attributes that are not handled by the basic
* implementation
*/
diff --git a/server/src/com/vaadin/ui/AbstractSelect.java b/server/src/com/vaadin/ui/AbstractSelect.java
index 1a3eeb88a3..d5e47b2286 100644
--- a/server/src/com/vaadin/ui/AbstractSelect.java
+++ b/server/src/com/vaadin/ui/AbstractSelect.java
@@ -1729,6 +1729,8 @@ public abstract class AbstractSelect extends AbstractField