From 2618df9617c778bb66de81bec392f44be52a7d45 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Thu, 7 Sep 2017 10:14:14 +0300 Subject: [PATCH] Add missing since tags for 8.2 (#9938) --- .../com/vaadin/client/ui/VCheckBoxGroup.java | 2 +- .../com/vaadin/client/ui/VRadioButtonGroup.java | 4 ++-- .../main/java/com/vaadin/ui/CheckBoxGroup.java | 8 ++++---- .../java/com/vaadin/ui/RadioButtonGroup.java | 8 ++++---- server/src/main/java/com/vaadin/ui/Tree.java | 16 ++++++++-------- .../vaadin/shared/ui/ListingJsonConstants.java | 2 +- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/client/src/main/java/com/vaadin/client/ui/VCheckBoxGroup.java b/client/src/main/java/com/vaadin/client/ui/VCheckBoxGroup.java index 8d38331af1..427c4011a5 100644 --- a/client/src/main/java/com/vaadin/client/ui/VCheckBoxGroup.java +++ b/client/src/main/java/com/vaadin/client/ui/VCheckBoxGroup.java @@ -99,7 +99,7 @@ public class VCheckBoxGroup extends FocusableFlowPanelComposite * Returns the JsonObject used to populate the CheckBox widget that contains * given Element. * - * @since + * @since 8.2 * @param element * the element to search for * @return the related JsonObject; {@code null} if not found diff --git a/client/src/main/java/com/vaadin/client/ui/VRadioButtonGroup.java b/client/src/main/java/com/vaadin/client/ui/VRadioButtonGroup.java index 1561cb9b8a..15b0d6f043 100644 --- a/client/src/main/java/com/vaadin/client/ui/VRadioButtonGroup.java +++ b/client/src/main/java/com/vaadin/client/ui/VRadioButtonGroup.java @@ -106,8 +106,8 @@ public class VRadioButtonGroup extends FocusableFlowPanelComposite /** * Returns the JsonObject used to populate the RadioButton widget that * contains given Element. - * - * @since + * + * @since 8.2 * @param element * the element to search for * @return the related JsonObject; {@code null} if not found diff --git a/server/src/main/java/com/vaadin/ui/CheckBoxGroup.java b/server/src/main/java/com/vaadin/ui/CheckBoxGroup.java index c257a1a0d0..0c7eb3f516 100644 --- a/server/src/main/java/com/vaadin/ui/CheckBoxGroup.java +++ b/server/src/main/java/com/vaadin/ui/CheckBoxGroup.java @@ -183,8 +183,8 @@ public class CheckBoxGroup extends AbstractMultiSelect * * @param descriptionGenerator * the item description generator to set, not {@code null} - * - * @since + * + * @since 8.2 */ public void setItemDescriptionGenerator( DescriptionGenerator descriptionGenerator) { @@ -199,8 +199,8 @@ public class CheckBoxGroup extends AbstractMultiSelect * Gets the item description generator. * * @return the item description generator - * - * @since + * + * @since 8.2 */ public DescriptionGenerator getItemDescriptionGenerator() { return descriptionGenerator; diff --git a/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java b/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java index c6e4a66c65..f8f2bd3991 100644 --- a/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java +++ b/server/src/main/java/com/vaadin/ui/RadioButtonGroup.java @@ -235,8 +235,8 @@ public class RadioButtonGroup extends AbstractSingleSelect * * @param descriptionGenerator * the item description generator to set, not {@code null} - * - * @since + * + * @since 8.2 */ public void setItemDescriptionGenerator( DescriptionGenerator descriptionGenerator) { @@ -251,8 +251,8 @@ public class RadioButtonGroup extends AbstractSingleSelect * Gets the item description generator. * * @return the item description generator - * - * @since + * + * @since 8.2 */ public DescriptionGenerator getItemDescriptionGenerator() { return descriptionGenerator; diff --git a/server/src/main/java/com/vaadin/ui/Tree.java b/server/src/main/java/com/vaadin/ui/Tree.java index 3981a0a916..6e35d0ff3b 100644 --- a/server/src/main/java/com/vaadin/ui/Tree.java +++ b/server/src/main/java/com/vaadin/ui/Tree.java @@ -612,8 +612,8 @@ public class Tree extends Composite /** * Sets the description generator that is used for generating tooltip * descriptions for items. - * - * @since + * + * @since 8.2 * @param descriptionGenerator * the item description generator to set, or null to * remove a previously set generator @@ -666,7 +666,7 @@ public class Tree extends Composite /** * Gets the item description generator. * - * @since + * @since 8.2 * @return the item description generator */ public DescriptionGenerator getItemDescriptionGenerator() { @@ -864,9 +864,9 @@ public class Tree extends Composite /** * Returns the current state of automatic width recalculation. - * + * * @return {@code true} if enabled; {@code false} if disabled - * + * * @since 8.1.1 */ public boolean isAutoRecalculateWidth() { @@ -876,11 +876,11 @@ public class Tree extends Composite /** * Sets the automatic width recalculation on or off. This feature is on by * default. - * + * * @param autoRecalculateWidth * {@code true} to enable recalculation; {@code false} to turn it * off - * + * * @since 8.1.1 */ public void setAutoRecalculateWidth(boolean autoRecalculateWidth) { @@ -1096,7 +1096,7 @@ public class Tree extends Composite * ContextClickEvent for the Tree Component. *

* Usage: - * + * *

      * tree.addContextClickListener(event -> Notification.show(
      *         ((TreeContextClickEvent<Person>) event).getItem() + " Clicked"));
diff --git a/shared/src/main/java/com/vaadin/shared/ui/ListingJsonConstants.java b/shared/src/main/java/com/vaadin/shared/ui/ListingJsonConstants.java
index acdbcd097f..ed5cf56380 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/ListingJsonConstants.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/ListingJsonConstants.java
@@ -34,7 +34,7 @@ public class ListingJsonConstants implements Serializable {
     public static final String JSONKEY_ITEM_SELECTED = "s";
 
     /**
-     * @since
+     * @since 8.2
      */
     public static final String JSONKEY_ITEM_DESCRIPTION = "dsc";
 }
-- 
2.39.5