diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-12-14 12:32:15 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-12-14 12:32:15 +0000 |
commit | 23d56baff322c593436cc4db00661f401559e923 (patch) | |
tree | 06b38ea100c106cacf210e2d35740c80c85c4dca /src/com/vaadin/ui/SplitPanel.java | |
parent | b8358a67c01f9f7b46fd85ada9700334d12cfd82 (diff) | |
download | vaadin-framework-23d56baff322c593436cc4db00661f401559e923.tar.gz vaadin-framework-23d56baff322c593436cc4db00661f401559e923.zip |
Added generics to ComponentContainer.getComponentIterator (#3717).
svn changeset:10281/svn branch:6.2
Diffstat (limited to 'src/com/vaadin/ui/SplitPanel.java')
-rw-r--r-- | src/com/vaadin/ui/SplitPanel.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/vaadin/ui/SplitPanel.java b/src/com/vaadin/ui/SplitPanel.java index 17bc0b64c1..916c8bb5cc 100644 --- a/src/com/vaadin/ui/SplitPanel.java +++ b/src/com/vaadin/ui/SplitPanel.java @@ -159,8 +159,8 @@ public class SplitPanel extends AbstractLayout { * * @return the Iterator of the components inside the container. */ - public Iterator getComponentIterator() { - return new Iterator() { + public Iterator<Component> getComponentIterator() { + return new Iterator<Component>() { int i = 0; public boolean hasNext() { @@ -171,7 +171,7 @@ public class SplitPanel extends AbstractLayout { return false; } - public Object next() { + public Component next() { if (!hasNext()) { return null; } |