diff options
author | Leif Åstrand <legioth@gmail.com> | 2017-01-25 09:44:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-25 09:44:16 +0200 |
commit | e397ea01e5ddb0c977561c008b84c6ed7c0ef706 (patch) | |
tree | f67be4b1efc51bd6a885ba9ebc7d81740d076acc /server/src/main/java/com/vaadin/ui/components | |
parent | 6c6161caeb8d4524aba11fa7976366981e090e85 (diff) | |
download | vaadin-framework-e397ea01e5ddb0c977561c008b84c6ed7c0ef706.tar.gz vaadin-framework-e397ea01e5ddb0c977561c008b84c6ed7c0ef706.zip |
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
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/components')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/components/grid/MultiSelectionModelImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<T> extends AbstractSelectionModel<T> set.addAll(addedItems); // refresh method is NOOP for items that are not present client side - DataCommunicator<T, ?> dataCommunicator = getGrid() + DataCommunicator<T> dataCommunicator = getGrid() .getDataCommunicator(); removedItems.forEach(dataCommunicator::refresh); addedItems.forEach(dataCommunicator::refresh); |