This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/derived-resource-types
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-api.git


The following commit(s) were added to refs/heads/feature/derived-resource-types 
by this push:
     new 84bf46a  improve the javadoc
84bf46a is described below

commit 84bf46aefa4d85d3ff1df53cd32c77d14d544979
Author: Konrad Windszus <[email protected]>
AuthorDate: Wed Aug 29 12:56:35 2018 +0200

    improve the javadoc
---
 .../org/apache/sling/api/resource/AbstractResourceVisitor.java | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/api/resource/AbstractResourceVisitor.java 
b/src/main/java/org/apache/sling/api/resource/AbstractResourceVisitor.java
index f454d67..fe67503 100644
--- a/src/main/java/org/apache/sling/api/resource/AbstractResourceVisitor.java
+++ b/src/main/java/org/apache/sling/api/resource/AbstractResourceVisitor.java
@@ -23,11 +23,13 @@ import java.util.Iterator;
 import javax.annotation.Nonnull;
 
 /**
- * The <code>AbstractResourceVisitor</code> helps in traversing a
- * resource tree by decoupling the actual traversal code
- * from application code. Concrete subclasses should implement
- * the {@link AbstractResourceVisitor#visit(Resource)} method.
+ * This visitor will traverse the given resource and all its children in a 
breadth-first approach
+ * and call the {@link AbstractResourceVisitor#visit(Resource)} method for 
each visited resource.
+ * It decouples the actual traversal code from application code. 
+ * 
+ * Concrete subclasses must implement the {@link 
AbstractResourceVisitor#visit(Resource)} method.
  *
+ * @see <a 
href="https://en.wikipedia.org/wiki/Breadth-first_search";>Breadth-First-Search</a>
  * @since 2.2 (Sling API Bundle 2.2.0)
  */
 public abstract class AbstractResourceVisitor {

Reply via email to