diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2020-08-17 12:39:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 12:39:41 +0300 |
commit | 067637342de0b2ba86fb7a228a8918aa17f7bcf3 (patch) | |
tree | f940bfe414b91cfb9d135155d9b5af2f8b252e74 /client | |
parent | e5c42385f337702e561a87806807e3bd3ef9c551 (diff) | |
download | vaadin-framework-067637342de0b2ba86fb7a228a8918aa17f7bcf3.tar.gz vaadin-framework-067637342de0b2ba86fb7a228a8918aa17f7bcf3.zip |
Fix typo in error message (#12077)
Diffstat (limited to 'client')
-rwxr-xr-x | client/src/main/java/com/vaadin/client/widgets/Grid.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/widgets/Grid.java b/client/src/main/java/com/vaadin/client/widgets/Grid.java index a134465713..6ed2e78b27 100755 --- a/client/src/main/java/com/vaadin/client/widgets/Grid.java +++ b/client/src/main/java/com/vaadin/client/widgets/Grid.java @@ -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"); |