summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/main/java/com/vaadin/ui/Grid.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java
index 9bd0c299ee..1efc091104 100644
--- a/server/src/main/java/com/vaadin/ui/Grid.java
+++ b/server/src/main/java/com/vaadin/ui/Grid.java
@@ -4723,7 +4723,7 @@ public class Grid extends AbstractFocusable implements SelectionNotifier,
Type type = null;
try {
type = (getState(false).getClass()
- .getDeclaredField(diffStateKey)
+ .getField(diffStateKey)
.getGenericType());
} catch (NoSuchFieldException e) {
e.printStackTrace();
@@ -4764,7 +4764,7 @@ public class Grid extends AbstractFocusable implements SelectionNotifier,
Type type = null;
try {
type = (getState(false).getClass()
- .getDeclaredField(diffStateKey)
+ .getField(diffStateKey)
.getGenericType());
} catch (NoSuchFieldException e) {
e.printStackTrace();