summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Koskinen <Ansku@users.noreply.github.com>2019-10-28 19:46:19 +0200
committerTatu Lund <tatu@vaadin.com>2019-10-28 19:46:19 +0200
commit55753a2e9d0385736cd3fd831573d2faddb801ef (patch)
tree118b8da2db438c523164cba9047c565b91baffd7
parent9559ee10a7f7af1a4f76fc8e01009de8f3912334 (diff)
downloadvaadin-framework-55753a2e9d0385736cd3fd831573d2faddb801ef.tar.gz
vaadin-framework-55753a2e9d0385736cd3fd831573d2faddb801ef.zip
Made JavaDoc of updateSelection more precise (#11768) (#11773)
Addresses https://github.com/vaadin/framework/issues/11520
-rw-r--r--server/src/main/java/com/vaadin/ui/MultiSelect.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/MultiSelect.java b/server/src/main/java/com/vaadin/ui/MultiSelect.java
index d2cd7def59..0e75e8377d 100644
--- a/server/src/main/java/com/vaadin/ui/MultiSelect.java
+++ b/server/src/main/java/com/vaadin/ui/MultiSelect.java
@@ -86,7 +86,8 @@ public interface MultiSelect<T> extends HasValue<Set<T>> {
* If all the added items were already selected and the removed items were
* not selected, this is a NO-OP.
* <p>
- * Duplicate items (in both add & remove sets) are ignored.
+ * Duplicate items (in both add & remove sets) are ignored and removed from
+ * the sets.
*
* @param addedItems
* the items to add, not {@code null}