summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/Select.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/ui/Select.java')
-rw-r--r--src/com/vaadin/ui/Select.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/Select.java b/src/com/vaadin/ui/Select.java
index dbdd1cf0e9..e5c19ccdd3 100644
--- a/src/com/vaadin/ui/Select.java
+++ b/src/com/vaadin/ui/Select.java
@@ -384,6 +384,7 @@ public class Select extends AbstractSelect implements AbstractSelect.Filtering,
// (non-visible items can not be deselected)
final Collection<?> visible = getVisibleItemIds();
if (visible != null) {
+ @SuppressWarnings("unchecked")
Set<Object> newsel = (Set<Object>) getValue();
if (newsel == null) {
newsel = new HashSet<Object>();