@@ -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