From e397ea01e5ddb0c977561c008b84c6ed7c0ef706 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Wed, 25 Jan 2017 09:44:16 +0200 Subject: Refactor how DataCommunicator passes filters to its DataProvider (#8309) The immediate benefit of this change is that ComboBox doesn't have to do any wrapping when a ListDataProvider is set. A secondary benefit is that a bunch of redundant type parameters and unsafe casts can be removed. This is one of many steps towards #8245 --- .../java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/main/java/com/vaadin/ui/components') diff --git a/server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java b/server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java index 89e7374bc6..551918ef85 100644 --- a/server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java +++ b/server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java @@ -436,7 +436,7 @@ public class MultiSelectionModelImpl extends AbstractSelectionModel set.addAll(addedItems); // refresh method is NOOP for items that are not present client side - DataCommunicator dataCommunicator = getGrid() + DataCommunicator dataCommunicator = getGrid() .getDataCommunicator(); removedItems.forEach(dataCommunicator::refresh); addedItems.forEach(dataCommunicator::refresh); -- cgit v1.2.3