From d67f329f16ca1bf85e8af6a0276203b58bd26ed9 Mon Sep 17 00:00:00 2001 From: Aleksi Hietanen Date: Wed, 10 May 2017 13:02:59 +0300 Subject: [PATCH] Clarify HierarchicalQuery javadocs --- .../com/vaadin/data/provider/HierarchicalQuery.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/server/src/main/java/com/vaadin/data/provider/HierarchicalQuery.java b/server/src/main/java/com/vaadin/data/provider/HierarchicalQuery.java index 92cf15ade9..cf6515b710 100644 --- a/server/src/main/java/com/vaadin/data/provider/HierarchicalQuery.java +++ b/server/src/main/java/com/vaadin/data/provider/HierarchicalQuery.java @@ -41,7 +41,8 @@ public class HierarchicalQuery extends Query { * @param filter * filtering for fetching; can be null * @param parent - * the hierarchical parent object, can be null + * the hierarchical parent object, null + * corresponding to the root node */ public HierarchicalQuery(F filter, T parent) { super(filter); @@ -63,7 +64,8 @@ public class HierarchicalQuery extends Query { * @param filter * filtering for fetching; can be null * @param parent - * the hierarchical parent object, can be null + * the hierarchical parent object, null + * corresponding to the root node */ public HierarchicalQuery(int offset, int limit, List sortOrders, Comparator inMemorySorting, @@ -73,9 +75,10 @@ public class HierarchicalQuery extends Query { } /** - * Get the hierarchical parent object, can be null. + * Get the hierarchical parent object, where null corresponds + * to the root node. * - * @return the hierarchical parent object, can be null + * @return the hierarchical parent object */ public T getParent() { return parent; -- 2.39.5