diff options
author | Henri Sara <hesara@vaadin.com> | 2011-11-11 10:40:15 +0200 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2011-11-11 10:40:15 +0200 |
commit | 0c8614963b26ab055762e930a6338426b3087015 (patch) | |
tree | acaadcaaf82702296ee09a884a351cdcb42410b7 /src/com/vaadin/ui/AbstractSelect.java | |
parent | 63fc9d04820822e60f7ac5946344d32711a55e2c (diff) | |
download | vaadin-framework-0c8614963b26ab055762e930a6338426b3087015.tar.gz vaadin-framework-0c8614963b26ab055762e930a6338426b3087015.zip |
Eliminate some generics related warnings in core (non-API).
Eliminate some (mostly Field and Property related) warnings about
raw types etc. No modifications to public API, only inside methods and
private API.
Diffstat (limited to 'src/com/vaadin/ui/AbstractSelect.java')
-rw-r--r-- | src/com/vaadin/ui/AbstractSelect.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/vaadin/ui/AbstractSelect.java b/src/com/vaadin/ui/AbstractSelect.java index d4bf600651..0343419cf1 100644 --- a/src/com/vaadin/ui/AbstractSelect.java +++ b/src/com/vaadin/ui/AbstractSelect.java @@ -1078,7 +1078,7 @@ public abstract class AbstractSelect extends AbstractField<Object> implements break; case ITEM_CAPTION_MODE_PROPERTY: - final Property p = getContainerProperty(itemId, + final Property<?> p = getContainerProperty(itemId, getItemCaptionPropertyId()); if (p != null) { Object value = p.getValue(); @@ -1129,7 +1129,7 @@ public abstract class AbstractSelect extends AbstractField<Object> implements return null; } - final Property ip = getContainerProperty(itemId, + final Property<?> ip = getContainerProperty(itemId, getItemIconPropertyId()); if (ip == null) { return null; @@ -1708,7 +1708,7 @@ public abstract class AbstractSelect extends AbstractField<Object> implements Collection<?> pids = i.getItemPropertyIds(); if (pids != null) { for (Iterator<?> it = pids.iterator(); it.hasNext();) { - Property p = i.getItemProperty(it.next()); + Property<?> p = i.getItemProperty(it.next()); if (p != null && p instanceof Property.ValueChangeNotifier) { ((Property.ValueChangeNotifier) p) @@ -1720,7 +1720,7 @@ public abstract class AbstractSelect extends AbstractField<Object> implements } break; case ITEM_CAPTION_MODE_PROPERTY: - final Property p = getContainerProperty(itemId, + final Property<?> p = getContainerProperty(itemId, getItemCaptionPropertyId()); if (p != null && p instanceof Property.ValueChangeNotifier) { ((Property.ValueChangeNotifier) p) |