Skip to content

Commit 8cf0086

Browse files
jcgueriaud1javier-godoy
authored andcommitted
Fix some errors in the javadoc
1 parent eec6844 commit 8cf0086

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ public TwinColGrid(final ListDataProvider<T> dataProvider, String caption) {
189189
/**
190190
* Constructs a new empty TwinColGrid, using the specified supplier for instantiating both grids.
191191
*
192-
* @param dataProvider the data provider, not {@code null}
193192
* @param caption the component caption
194193
* @param gridSupplier a supplier for instantiating both grids
195194
*/
@@ -202,7 +201,7 @@ public TwinColGrid(String caption, Supplier<Grid<T>> gridSupplier) {
202201
*
203202
* @param caption the component caption
204203
* @param availableGrid the grid that contains the available items
205-
* @param selectedGrid the grid that contains the selected items
204+
* @param selectionGrid the grid that contains the selected items
206205
*/
207206
public TwinColGrid(String caption, @NonNull Grid<T> availableGrid,
208207
@NonNull Grid<T> selectionGrid) {
@@ -498,7 +497,7 @@ public TwinColGrid(final Collection<T> options, final String caption) {
498497
/**
499498
* Sets the text shown above the grid with the available items. {@code null} clears the caption.
500499
*
501-
* @param rightColumnCaption The text to show, {@code null} to clear
500+
* @param caption The text to show, {@code null} to clear
502501
* @return this instance
503502
*/
504503
public TwinColGrid<T> withAvailableGridCaption(final String caption) {
@@ -524,7 +523,7 @@ public TwinColGrid<T> withSelectionGridCaption(final String caption) {
524523
/**
525524
* Sets the text shown above the grid with the available items. {@code null} clears the caption.
526525
*
527-
* @param rightColumnCaption The text to show, {@code null} to clear
526+
* @param caption The text to show, {@code null} to clear
528527
* @return this instance
529528
* @deprecated Use {@link #withAvailableGridCaption(String)}
530529
*/

0 commit comments

Comments
 (0)