summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AbstractSelect.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2011-04-21 07:26:19 +0000
committerArtur Signell <artur.signell@itmill.com>2011-04-21 07:26:19 +0000
commit522f4c3dbe60746f1140a2605ff8842620252ada (patch)
tree699166329d8446ab20eee497fe7e2384a08dc7aa /src/com/vaadin/ui/AbstractSelect.java
parente387f24dd71fd07a800273aa8066075a4e2e8b3a (diff)
downloadvaadin-framework-522f4c3dbe60746f1140a2605ff8842620252ada.tar.gz
vaadin-framework-522f4c3dbe60746f1140a2605ff8842620252ada.zip
Javadoc and formatting fixes
svn changeset:18424/svn branch:6.6
Diffstat (limited to 'src/com/vaadin/ui/AbstractSelect.java')
-rw-r--r--src/com/vaadin/ui/AbstractSelect.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/com/vaadin/ui/AbstractSelect.java b/src/com/vaadin/ui/AbstractSelect.java
index 66ec7b0980..54f91f34bd 100644
--- a/src/com/vaadin/ui/AbstractSelect.java
+++ b/src/com/vaadin/ui/AbstractSelect.java
@@ -1095,7 +1095,7 @@ public abstract class AbstractSelect extends AbstractField implements
* @param itemId
* the id of the item to be assigned an icon.
* @param icon
- * the New icon.
+ * the icon to use or null.
*/
public void setItemIcon(Object itemId, Resource icon) {
if (itemId != null) {
@@ -1113,7 +1113,7 @@ public abstract class AbstractSelect extends AbstractField implements
*
* @param itemId
* the id of the item to be assigned an icon.
- * @return the Icon for the item or null, if not specified.
+ * @return the icon for the item or null, if not specified.
*/
public Resource getItemIcon(Object itemId) {
final Resource explicit = itemIcons.get(itemId);
@@ -1457,18 +1457,20 @@ public abstract class AbstractSelect extends AbstractField implements
@Override
public Collection<?> getListeners(Class<?> eventType) {
if (Container.ItemSetChangeEvent.class.isAssignableFrom(eventType)) {
- if (itemSetEventListeners == null)
+ if (itemSetEventListeners == null) {
return Collections.EMPTY_LIST;
- else
+ } else {
return Collections
.unmodifiableCollection(itemSetEventListeners);
+ }
} else if (Container.PropertySetChangeEvent.class
.isAssignableFrom(eventType)) {
- if (propertySetEventListeners == null)
+ if (propertySetEventListeners == null) {
return Collections.EMPTY_LIST;
- else
+ } else {
return Collections
.unmodifiableCollection(propertySetEventListeners);
+ }
}
return super.getListeners(eventType);