summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/SplitPanel.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-12-14 12:32:15 +0000
committerArtur Signell <artur.signell@itmill.com>2009-12-14 12:32:15 +0000
commit23d56baff322c593436cc4db00661f401559e923 (patch)
tree06b38ea100c106cacf210e2d35740c80c85c4dca /src/com/vaadin/ui/SplitPanel.java
parentb8358a67c01f9f7b46fd85ada9700334d12cfd82 (diff)
downloadvaadin-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.java6
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;
}