diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-05-26 15:44:25 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-05-26 15:50:58 +0300 |
commit | 0a7b430d50dc8d82e2ca23296381939a7f444846 (patch) | |
tree | 5d48b34161459a0500bfa0b99b5c7fb029b5bf7f /client | |
parent | 90b6f7dcab2758b1f026af60a58982bc0cfaff22 (diff) | |
download | vaadin-framework-0a7b430d50dc8d82e2ca23296381939a7f444846.tar.gz vaadin-framework-0a7b430d50dc8d82e2ca23296381939a7f444846.zip |
Use GWT.create instead of new in Grid client-side (#18011)
Change-Id: I34db328092965e0dd8c63c9e65504b637a3fa9e5
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/widgets/Grid.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java index 53e0566e8d..50bc778736 100644 --- a/client/src/com/vaadin/client/widgets/Grid.java +++ b/client/src/com/vaadin/client/widgets/Grid.java @@ -3854,7 +3854,7 @@ public class Grid<T> extends ResizeComposite implements @Override protected <T> SelectionModel<T> createModel() { - return new SelectionModelSingle<T>(); + return GWT.create(SelectionModelSingle.class); } }, @@ -3865,7 +3865,7 @@ public class Grid<T> extends ResizeComposite implements @Override protected <T> SelectionModel<T> createModel() { - return new SelectionModelMulti<T>(); + return GWT.create(SelectionModelMulti.class); } }, @@ -3876,7 +3876,7 @@ public class Grid<T> extends ResizeComposite implements @Override protected <T> SelectionModel<T> createModel() { - return new SelectionModelNone<T>(); + return GWT.create(SelectionModelNone.class); } }; |