summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorTatu Lund <tatu@vaadin.com>2019-10-28 09:52:18 +0200
committerAnna Koskinen <Ansku@users.noreply.github.com>2019-10-28 09:52:18 +0200
commit1ce4be358346cc9813ff0b163df391b23ab3af30 (patch)
tree965d9e8531ad89adc46ae850e106d6755fa525f5 /server
parent1e764045e3b013a1944f07be16986d61472deacd (diff)
downloadvaadin-framework-1ce4be358346cc9813ff0b163df391b23ab3af30.tar.gz
vaadin-framework-1ce4be358346cc9813ff0b163df391b23ab3af30.zip
Made JavaDoc of updateSelection more precise (#11768)
Addresses https://github.com/vaadin/framework/issues/11520
Diffstat (limited to 'server')
-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}