From 620b413478976474a00ddd368309931e7417b41b Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Thu, 15 Jun 2017 15:53:24 +0300 Subject: Add missing since tags (#9544) --- .../main/java/com/vaadin/client/ui/VAbstractTextualDate.java | 10 +++++----- client/src/main/java/com/vaadin/client/ui/VComboBox.java | 6 ++++-- client/src/main/java/com/vaadin/client/ui/VDateField.java | 2 +- client/src/main/java/com/vaadin/client/widgets/Grid.java | 4 ++-- server/src/main/java/com/vaadin/navigator/View.java | 2 +- server/src/main/java/com/vaadin/ui/Grid.java | 8 ++++---- .../src/main/java/com/vaadin/shared/ui/grid/ColumnState.java | 2 ++ 7 files changed, 19 insertions(+), 15 deletions(-) diff --git a/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java b/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java index 0c33eb7e41..fd50c92aed 100644 --- a/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java +++ b/client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java @@ -112,7 +112,7 @@ public abstract class VAbstractTextualDate> * * @return a date format string to use when formatting and parsing the text * in the input field - * @since + * @since 8.1 */ protected String createFormatString() { if (isYear(getCurrentResolution())) { @@ -136,7 +136,7 @@ public abstract class VAbstractTextualDate> * @param formatString * the format string to use, or null to force re-creating the * format string from the locale the next time it is needed - * @since + * @since 8.1 */ public void setFormatString(String formatString) { this.formatStr = formatString; @@ -386,7 +386,7 @@ public abstract class VAbstractTextualDate> /** * Publish methods/properties on the element to be used from JavaScript. * - * @since + * @since 8.1 */ private native void publishJSHelpers(Element root) /*-{ @@ -407,7 +407,7 @@ public abstract class VAbstractTextualDate> * @param isoDate * the date to set in ISO8601 format, or null to clear the date * value - * @since + * @since 8.1 */ public void setISODate(String isoDate) { if (isoDate == null) { @@ -426,7 +426,7 @@ public abstract class VAbstractTextualDate> * * @return the current date in ISO8601 format, or null if no date is set * - * @since + * @since 8.1 */ public String getISODate() { Date date = getDate(); diff --git a/client/src/main/java/com/vaadin/client/ui/VComboBox.java b/client/src/main/java/com/vaadin/client/ui/VComboBox.java index 787d82caec..a68eaa961a 100644 --- a/client/src/main/java/com/vaadin/client/ui/VComboBox.java +++ b/client/src/main/java/com/vaadin/client/ui/VComboBox.java @@ -2825,8 +2825,9 @@ public class VComboBox extends Composite implements Field, KeyDownHandler, /** * Gets the empty selection caption. - * + * * @return the empty selection caption + * @since 8.1 */ public String getEmptySelectionCaption() { return emptySelectionCaption; @@ -2835,9 +2836,10 @@ public class VComboBox extends Composite implements Field, KeyDownHandler, /** * Sets the empty selection caption for this VComboBox. The text is * displayed in the text input when nothing is selected. - * + * * @param emptySelectionCaption * the empty selection caption + * @since 8.1 */ public void setEmptySelectionCaption(String emptySelectionCaption) { this.emptySelectionCaption = emptySelectionCaption; diff --git a/client/src/main/java/com/vaadin/client/ui/VDateField.java b/client/src/main/java/com/vaadin/client/ui/VDateField.java index bf4c074d89..40fc9a8f8c 100644 --- a/client/src/main/java/com/vaadin/client/ui/VDateField.java +++ b/client/src/main/java/com/vaadin/client/ui/VDateField.java @@ -230,7 +230,7 @@ public abstract class VDateField> extends FlowPanel * * @return true if time is supported in addition to date, * false if only dates are supported - * @since + * @since 8.1 */ protected abstract boolean supportsTime(); diff --git a/client/src/main/java/com/vaadin/client/widgets/Grid.java b/client/src/main/java/com/vaadin/client/widgets/Grid.java index 1d4abddf54..aa0261d6d9 100755 --- a/client/src/main/java/com/vaadin/client/widgets/Grid.java +++ b/client/src/main/java/com/vaadin/client/widgets/Grid.java @@ -5287,7 +5287,7 @@ public class Grid extends ResizeComposite implements HasSelectionHandlers, * true to reserve space for all contents, * false to allow the column to shrink smaller * than the contents - * @since + * @since 8.1 */ public void setMinimumWidthFromContent( boolean minimumWidthFromContent) { @@ -5301,7 +5301,7 @@ public class Grid extends ResizeComposite implements HasSelectionHandlers, * @return true to reserve space for all contents, * false to allow the column to shrink smaller than * the contents - * @since + * @since 8.1 */ public boolean isMinimumWidthFromContent() { return minimumWidthFromContent; diff --git a/server/src/main/java/com/vaadin/navigator/View.java b/server/src/main/java/com/vaadin/navigator/View.java index 72e60dfdc4..623c8ed6e9 100644 --- a/server/src/main/java/com/vaadin/navigator/View.java +++ b/server/src/main/java/com/vaadin/navigator/View.java @@ -54,7 +54,7 @@ public interface View extends Serializable { * By default casts this View to a {@link Component} if possible, otherwise * throws an IllegalStateException. * - * @since + * @since 8.1 * @return the component to show, by default the view instance itself */ public default Component getViewComponent() { diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java index 7e283a38ea..1254814b3f 100644 --- a/server/src/main/java/com/vaadin/ui/Grid.java +++ b/server/src/main/java/com/vaadin/ui/Grid.java @@ -1528,7 +1528,7 @@ public class Grid extends AbstractListing implements HasComponents, * @throws IllegalStateException * if the column is no longer attached to any grid * @see #setMinimumWidth(double) - * @since + * @since 8.1 */ public Column setMinimumWidthFromContent( boolean minimumWidthFromContent) throws IllegalStateException { @@ -1549,7 +1549,7 @@ public class Grid extends AbstractListing implements HasComponents, * false to allow the column to shrink smaller than * the contents * @see #setMinimumWidthFromContent(boolean) - * @since + * @since 8.1 */ public boolean isMinimumWidthFromContent() { return getState(false).minimumWidthFromContent; @@ -1907,9 +1907,9 @@ public class Grid extends AbstractListing implements HasComponents, /** * Gets the Renderer for this Column. - * + * * @return the renderer - * @since + * @since 8.1 */ public Renderer getRenderer() { return (Renderer) getState().renderer; diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java index 230db387ff..cda5382670 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java @@ -66,6 +66,8 @@ public class ColumnState extends AbstractGridExtensionState { public Connector renderer; /** * Whether the contents define the minimum width for this column. + * + * @since 8.1 */ public boolean minimumWidthFromContent = true; -- cgit v1.2.3