diff options
author | Leif Åstrand <legioth@gmail.com> | 2017-08-17 14:44:16 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-08-18 14:52:15 +0300 |
commit | 81691c6c2df5c755d4c288dfbc61eab455638f45 (patch) | |
tree | 4de587cf00c24c436dd757e9f0f16379698347d2 | |
parent | feaa2122fb06bea9c763b602c926ec85fbb4565a (diff) | |
download | vaadin-framework-81691c6c2df5c755d4c288dfbc61eab455638f45.tar.gz vaadin-framework-81691c6c2df5c755d4c288dfbc61eab455638f45.zip |
Use getter instead of field for keyMapper (#9831)
-rw-r--r-- | server/src/main/java/com/vaadin/data/provider/DataCommunicator.java | 2 |
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); } } |