diff options
-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); } } |