From 7e948c19977f3be4320b39692d8f35f3a2e33264 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 28 May 2014 15:29:28 +0300 Subject: Allow use of Collection and others with addItems (#13865) Change-Id: Ie5c0a00b65d27f65522a14c4fbcd05fe21814cc0 --- server/src/com/vaadin/ui/AbstractSelect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src') diff --git a/server/src/com/vaadin/ui/AbstractSelect.java b/server/src/com/vaadin/ui/AbstractSelect.java index c6abb8e685..b8db329906 100644 --- a/server/src/com/vaadin/ui/AbstractSelect.java +++ b/server/src/com/vaadin/ui/AbstractSelect.java @@ -904,7 +904,7 @@ public abstract class AbstractSelect extends AbstractField implements * if the underlying container don't support adding items with * identifiers */ - public void addItems(Collection itemIds) + public void addItems(Collection itemIds) throws UnsupportedOperationException { addItems(itemIds.toArray()); } -- cgit v1.2.3