Browse Source

Fixing typo (#11207)

tags/8.6.0.beta1
Mehdi Javan 5 years ago
parent
commit
e854d6ea83

+ 1
- 1
server/src/main/java/com/vaadin/ui/components/grid/GridSingleSelect.java View File

@@ -46,7 +46,7 @@ public class GridSingleSelect<T> implements SingleSelect<T> {
GridSelectionModel<T> selectionModel = grid.getSelectionModel();
if (!(selectionModel instanceof SingleSelectionModel)) {
throw new IllegalStateException(
"Grid is not in singleiselect mode, it needs to be explicitly set to such with setSelectionModel(SingleSelectionModel) before being able to use singleselection features.");
"Grid is not in single select mode, it needs to be explicitly set to such with setSelectionModel(SingleSelectionModel) before being able to use single selection features.");
}
model = (SingleSelectionModel<T>) selectionModel;
}

Loading…
Cancel
Save