diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2012-10-29 15:43:31 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-10-30 09:47:47 +0000 |
commit | 2364f3ec9fca600a5e926040ad3653de84bfed7d (patch) | |
tree | b2b4179704714c2428ad201bde1cfa2945f70369 /server/src/com/vaadin/ui/CustomField.java | |
parent | f75f47f2f275d03791677244e11646409099d41d (diff) | |
download | vaadin-framework-2364f3ec9fca600a5e926040ad3653de84bfed7d.tar.gz vaadin-framework-2364f3ec9fca600a5e926040ad3653de84bfed7d.zip |
Move deprecated getComponentIterator() from HasComponents to implementing classes (#10085)
Change-Id: Iedcb7b51f6d2a095b402a7141dc906b112ee6fe7
Diffstat (limited to 'server/src/com/vaadin/ui/CustomField.java')
-rw-r--r-- | server/src/com/vaadin/ui/CustomField.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/server/src/com/vaadin/ui/CustomField.java b/server/src/com/vaadin/ui/CustomField.java index e782bd1783..67695fe54b 100644 --- a/server/src/com/vaadin/ui/CustomField.java +++ b/server/src/com/vaadin/ui/CustomField.java @@ -146,14 +146,17 @@ public abstract class CustomField<T> extends AbstractField<T> implements } } - @Override + /** + * @deprecated As of 7.0, use {@link #iterator()} instead. + */ + @Deprecated public Iterator<Component> getComponentIterator() { - return new ComponentIterator(); + return iterator(); } @Override public Iterator<Component> iterator() { - return getComponentIterator(); + return new ComponentIterator(); } @Override |