summaryrefslogtreecommitdiffstats
path: root/server/src/main
diff options
context:
space:
mode:
authorLeif Åstrand <legioth@gmail.com>2017-08-17 14:44:16 +0300
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-08-17 14:44:16 +0300
commitd9b8199a708bf328088674dab4265293fdb2ff95 (patch)
tree7ff5a3be776a3b41f9cbb5fa192b44891c514e7f /server/src/main
parent318fb10f6a4ad9cc1cd7f31f574fa4c50eec951e (diff)
downloadvaadin-framework-d9b8199a708bf328088674dab4265293fdb2ff95.tar.gz
vaadin-framework-d9b8199a708bf328088674dab4265293fdb2ff95.zip
Use getter instead of field for keyMapper (#9831)
Diffstat (limited to 'server/src/main')
-rw-r--r--server/src/main/java/com/vaadin/data/provider/DataCommunicator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java
index 2855d21cbe..b41a5f3546 100644
--- a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java
+++ b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java
@@ -790,6 +790,6 @@ public class DataCommunicator<T> extends AbstractExtension {
detachDataProviderListener();
dropAllData();
this.dataProvider = dataProvider;
- keyMapper.setIdentifierGetter(dataProvider::getId);
+ getKeyMapper().setIdentifierGetter(dataProvider::getId);
}
}