diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/main/java/com/vaadin/data/SelectionModel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/data/SelectionModel.java b/server/src/main/java/com/vaadin/data/SelectionModel.java index 2f22c81aa1..69f143e0f7 100644 --- a/server/src/main/java/com/vaadin/data/SelectionModel.java +++ b/server/src/main/java/com/vaadin/data/SelectionModel.java @@ -187,7 +187,7 @@ public interface SelectionModel<T> extends Serializable { */ public default void selectItems(Collection<T> items) { Objects.requireNonNull(items); - items.stream().forEach(Objects::requireNonNull); + items.forEach(Objects::requireNonNull); updateSelection( new LinkedHashSet<>( @@ -229,7 +229,7 @@ public interface SelectionModel<T> extends Serializable { */ public default void deselectItems(Collection<T> items) { Objects.requireNonNull(items); - items.stream().forEach(Objects::requireNonNull); + items.forEach(Objects::requireNonNull); updateSelection(Collections.emptySet(), new LinkedHashSet<>( items.stream().collect(Collectors.toList()))); |