瀏覽代碼

Fix typo in error message (#12077)

tags/8.12.0.alpha2
Anna Koskinen 3 年之前
父節點
當前提交
067637342d
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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 查看文件

@@ -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…
取消
儲存