summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AbstractOrderedLayout.java
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2010-10-04 10:03:55 +0000
committerHenri Sara <henri.sara@itmill.com>2010-10-04 10:03:55 +0000
commit01906da2fd34fd4dafcc5c1cad6da068d618c9c1 (patch)
tree17898f59419869ad95b46b6fc03ab2de96062b15 /src/com/vaadin/ui/AbstractOrderedLayout.java
parent8a8827dd17d58988ade03a4170bb09bb9472d180 (diff)
downloadvaadin-framework-01906da2fd34fd4dafcc5c1cad6da068d618c9c1.tar.gz
vaadin-framework-01906da2fd34fd4dafcc5c1cad6da068d618c9c1.zip
#5692 Generics: server-side changes for changeVariables() and some component iterators
svn changeset:15338/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/ui/AbstractOrderedLayout.java')
-rw-r--r--src/com/vaadin/ui/AbstractOrderedLayout.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/vaadin/ui/AbstractOrderedLayout.java b/src/com/vaadin/ui/AbstractOrderedLayout.java
index b0587f8d38..517c363dc8 100644
--- a/src/com/vaadin/ui/AbstractOrderedLayout.java
+++ b/src/com/vaadin/ui/AbstractOrderedLayout.java
@@ -161,8 +161,8 @@ public abstract class AbstractOrderedLayout extends AbstractLayout implements
int oldLocation = -1;
int newLocation = -1;
int location = 0;
- for (final Iterator i = components.iterator(); i.hasNext();) {
- final Component component = (Component) i.next();
+ for (final Iterator<Component> i = components.iterator(); i.hasNext();) {
+ final Component component = i.next();
if (component == oldComponent) {
oldLocation = location;
@@ -329,7 +329,7 @@ public abstract class AbstractOrderedLayout extends AbstractLayout implements
}
@Override
- public void changeVariables(Object source, Map variables) {
+ public void changeVariables(Object source, Map<String, Object> variables) {
super.changeVariables(source, variables);
if (variables.containsKey(CLICK_EVENT)) {
fireClick((Map<String, Object>) variables.get(CLICK_EVENT));