diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-21 15:01:30 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-21 16:01:30 +0300 |
commit | 132d9fa60e1d5530c01e1954905ef5d0f9643060 (patch) | |
tree | 1254865f246b5350115234a792402e51eaec58f7 /compatibility-server/src/main | |
parent | 11ddb11cbc72b0ee233e503058d4e104030e4aa3 (diff) | |
download | vaadin-framework-132d9fa60e1d5530c01e1954905ef5d0f9643060.tar.gz vaadin-framework-132d9fa60e1d5530c01e1954905ef5d0f9643060.zip |
Fix unused parameters in javadoc (#10055)
Diffstat (limited to 'compatibility-server/src/main')
11 files changed, 18 insertions, 25 deletions
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java index fce2c1753d..5371584a31 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java @@ -146,7 +146,7 @@ public class IndexedContainer /** * Gets the type of a Property stored in the list. * - * @param id + * @param propertyId * the ID of the Property. * @return Type of the requested Property */ diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/converter/StringToCollectionConverter.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/converter/StringToCollectionConverter.java index 8b65f7fc44..ed65e621ec 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/converter/StringToCollectionConverter.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/converter/StringToCollectionConverter.java @@ -97,7 +97,7 @@ public class StringToCollectionConverter * * @param tokenConverter * converter for token - * @param tokenType + * @param tokenClass * expected token model type * @param delimiter * delimiter in presentation string @@ -117,7 +117,7 @@ public class StringToCollectionConverter * * @param tokenConverter * converter for token - * @param tokenType + * @param tokenClass * expected token model type * @param delimiter * delimiter in presentation string diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformQueryDelegate.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformQueryDelegate.java index 360a0ae89a..e74e6abe1d 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformQueryDelegate.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformQueryDelegate.java @@ -35,8 +35,8 @@ public interface FreeformQueryDelegate extends Serializable { * * @param offset * the first record (row) to fetch. - * @param pagelength - * the number of records (rows) to fetch. 0 means all records + * @param limit + * the limit of records (rows) to fetch. 0 means all records * starting from offset. * @deprecated As of 6.7. Implement {@link FreeformStatementDelegate} * instead of {@link FreeformQueryDelegate} diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformStatementDelegate.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformStatementDelegate.java index 3266a135e8..c3a8c60dbb 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformStatementDelegate.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformStatementDelegate.java @@ -39,8 +39,8 @@ public interface FreeformStatementDelegate extends FreeformQueryDelegate { * * @param offset * the first record (row) to fetch. - * @param pagelength - * the number of records (rows) to fetch. 0 means all records + * @param limit + * the limit of records (rows) to fetch. 0 means all records * starting from offset. */ public StatementHelper getQueryStatement(int offset, int limit) diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/QueryDelegate.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/QueryDelegate.java index e9e0d066f9..45206701a0 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/QueryDelegate.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/query/QueryDelegate.java @@ -94,9 +94,8 @@ public interface QueryDelegate extends Serializable { * decides how to identify whether to store a new row or update an existing * one. * - * @param columnToValueMap - * A map containing the values for all columns to be stored or - * updated. + * @param row + * The row to be stored or updated. * @return the number of affected rows in the database table * @throws UnsupportedOperationException * if the implementation is read only. diff --git a/compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java b/compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java index 4fed8fd605..85d3014b0b 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/server/communication/data/RpcDataProviderExtension.java @@ -416,8 +416,6 @@ public class RpcDataProviderExtension extends AbstractExtension { * * @param component * the remote data grid component to extend - * @param columnKeys - * the key mapper for columns */ public void extend(Grid component) { super.extend(component); diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java index 70fabdc9b3..eddd57888b 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java @@ -718,7 +718,7 @@ public abstract class AbstractSelect extends AbstractField<Object> implements * </p> * * @since 7.5.7 - * @param newValue + * @param newFieldValue * the New selected item or collection of selected items. * @param repaintIsNotNeeded * True if caller is sure that repaint is not needed. diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java index b37c9c7e2b..a763eccba2 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Calendar.java @@ -1932,9 +1932,9 @@ public class Calendar extends AbstractLegacyComponent * <p> * The default is false, i.e. to render that caption as plain text. * - * @param captionAsHtml - * true if the captions are rendered as HTML, false if rendered - * as plain text + * @param eventCaptionAsHtml + * {@code true} if the captions are rendered as HTML, + * {@code false} if rendered as plain text */ public void setEventCaptionAsHtml(boolean eventCaptionAsHtml) { getState().eventCaptionAsHtml = eventCaptionAsHtml; diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/CheckBox.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/CheckBox.java index 7366266787..10703d5bd2 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/CheckBox.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/CheckBox.java @@ -109,9 +109,10 @@ public class CheckBox extends AbstractField<Boolean> { /** * Creates a new checkbox that is connected to a boolean property. * - * @param state - * the Initial state of the switch-button. + * @param caption + * the Initial caption of the checkbox. * @param dataSource + * the data source */ public CheckBox(String caption, Property<?> dataSource) { this(caption); diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/TwinColSelect.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/TwinColSelect.java index c90cddb595..652f081492 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/TwinColSelect.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/TwinColSelect.java @@ -173,7 +173,7 @@ public class TwinColSelect extends AbstractSelect { /** * Sets the text shown above the right column. * - * @param caption + * @param rightColumnCaption * The text to show */ public void setRightColumnCaption(String rightColumnCaption) { @@ -193,7 +193,7 @@ public class TwinColSelect extends AbstractSelect { /** * Sets the text shown above the left column. * - * @param caption + * @param leftColumnCaption * The text to show */ public void setLeftColumnCaption(String leftColumnCaption) { diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorPickerSelect.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorPickerSelect.java index 79dfdf3b49..57d5a6735f 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorPickerSelect.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorPickerSelect.java @@ -65,11 +65,6 @@ public class ColorPickerSelect extends CustomComponent /** * Instantiates a new color picker select. - * - * @param rows - * the rows - * @param columns - * the columns */ public ColorPickerSelect() { |