From 81691c6c2df5c755d4c288dfbc61eab455638f45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Thu, 17 Aug 2017 14:44:16 +0300 Subject: [PATCH] Use getter instead of field for keyMapper (#9831) --- .../main/java/com/vaadin/data/provider/DataCommunicator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 extends AbstractExtension { detachDataProviderListener(); dropAllData(); this.dataProvider = dataProvider; - keyMapper.setIdentifierGetter(dataProvider::getId); + getKeyMapper().setIdentifierGetter(dataProvider::getId); } } -- 2.39.5