diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-10-25 11:02:42 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-10-25 08:55:44 +0000 |
commit | ac92d2029884ab45899baddb1a6c6353e734c3b5 (patch) | |
tree | 56c5cb8c013a88d4f70cae33c240a1755e123f0d | |
parent | 5811b0746d3b1337d569dfa3590aec461ab45c8f (diff) | |
download | vaadin-framework-ac92d2029884ab45899baddb1a6c6353e734c3b5.tar.gz vaadin-framework-ac92d2029884ab45899baddb1a6c6353e734c3b5.zip |
Update Hierarchical container JavaDocs to match code (#5864)
Change-Id: I7a8520ef61ddc4dff66c326d61acbf7ccf0e76cd
-rw-r--r-- | server/src/main/java/com/vaadin/data/Container.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/server/src/main/java/com/vaadin/data/Container.java b/server/src/main/java/com/vaadin/data/Container.java index 6832a57b06..42c51ab41e 100644 --- a/server/src/main/java/com/vaadin/data/Container.java +++ b/server/src/main/java/com/vaadin/data/Container.java @@ -665,7 +665,8 @@ public interface Container extends Serializable { * ID of the Item whose children the caller is interested in * @return An unmodifiable {@link java.util.Collection collection} * containing the IDs of all other Items that are children in - * the container hierarchy + * the container hierarchy; {@code null} if item does not have + * any children. */ public Collection<?> getChildren(Object itemId); @@ -760,9 +761,8 @@ public interface Container extends Serializable { /** * Tests if the Item specified with <code>itemId</code> is a root Item. * The hierarchical container can have more than one root and must have - * at least one unless it is empty. The - * {@link #getParent(Object itemId)} method always returns - * <code>null</code> for root Items. + * at least one unless it is empty. The {@link #getParent(Object itemId)} + * method always returns <code>null</code> for root Items. * * @param itemId * ID of the Item whose root status is to be tested @@ -1249,7 +1249,6 @@ public interface Container extends Serializable { * {@link #removePropertySetChangeListener(PropertySetChangeListener)} **/ @Deprecated - public void removeListener( - Container.PropertySetChangeListener listener); + public void removeListener(Container.PropertySetChangeListener listener); } } |