summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/Panel.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-05-29 14:23:39 +0300
committerLeif Åstrand <leif@vaadin.com>2012-06-06 09:33:10 +0300
commitf77f121d0dd47ffc23c8f07e034fd6a115d0c2b0 (patch)
treeb73a1792dba68aef39d197b19fbeeb4fd649c7a3 /src/com/vaadin/ui/Panel.java
parent2e2020cb9b3a3f3353d7a56de7b1e0ab2b5186e1 (diff)
downloadvaadin-framework-f77f121d0dd47ffc23c8f07e034fd6a115d0c2b0.tar.gz
vaadin-framework-f77f121d0dd47ffc23c8f07e034fd6a115d0c2b0.zip
Fix some broken hierarchies (#6690)
Diffstat (limited to 'src/com/vaadin/ui/Panel.java')
-rw-r--r--src/com/vaadin/ui/Panel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/Panel.java b/src/com/vaadin/ui/Panel.java
index 37e03ffb37..c339100cda 100644
--- a/src/com/vaadin/ui/Panel.java
+++ b/src/com/vaadin/ui/Panel.java
@@ -4,6 +4,7 @@
package com.vaadin.ui;
+import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
@@ -229,7 +230,7 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
* @see com.vaadin.ui.ComponentContainer#getComponentIterator()
*/
public Iterator<Component> getComponentIterator() {
- return content.getComponentIterator();
+ return Collections.singleton((Component) content).iterator();
}
/**