Browse Source

Fix typo in error message (#12077)

tags/8.12.0.alpha2
Anna Koskinen 3 years ago
parent
commit
067637342d
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      client/src/main/java/com/vaadin/client/widgets/Grid.java

+ 1
- 1
client/src/main/java/com/vaadin/client/widgets/Grid.java View File

@@ -6733,7 +6733,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
public <C extends Column<?, T>> C addColumn(C column, int index) {
if (column == selectionColumn) {
throw new IllegalArgumentException(
"The selection column many " + "not be added manually");
"The selection column may not be added manually");
} else if (selectionColumn != null && index == 0) {
throw new IllegalStateException("A column cannot be inserted "
+ "before the selection column");

Loading…
Cancel
Save