jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/4] jena git commit: Comments
Date Tue, 15 Mar 2016 16:18:57 GMT
Repository: jena
Updated Branches:
  refs/heads/master c30a340e0 -> 4c143d062


Comments

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/66b1fe4a
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/66b1fe4a
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/66b1fe4a

Branch: refs/heads/master
Commit: 66b1fe4a3d2e477ecb79b58c57789119df83d7da
Parents: c30a340
Author: Andy Seaborne <andy@apache.org>
Authored: Tue Mar 15 14:24:36 2016 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Tue Mar 15 14:24:36 2016 +0000

----------------------------------------------------------------------
 .../java/org/apache/jena/sparql/syntax/ElementWalker.java | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/66b1fe4a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/ElementWalker.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/ElementWalker.java b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/ElementWalker.java
index 1d875be..11ea61a 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/syntax/ElementWalker.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/syntax/ElementWalker.java
@@ -19,10 +19,11 @@
 package org.apache.jena.sparql.syntax;
 
 
-/** An element visitor that walks the graph pattern tree, 
- *  applying a visitor at each Element traversed.
- *  Does not (NOT)EXISTS in filters.
- *    These will need to call down themselves if it is meaningful for the visitor.  
+/** An element visitor that walks the graph pattern tree for one query level. 
+ *  applying a visitor at each Element traversed.<br/>
+ *  Does not process subqueries.<br/>      
+ *  Does not process (NOT)EXISTS in filters.<br/>
+ *  These will need to call down themselves if it is meaningful for the visitor.
  *  Bottom-up walk - apply to subelements before applying to current element.
  */
 
@@ -201,6 +202,7 @@ public class ElementWalker
         public void visit(ElementSubQuery el)
         {
             before(el) ;
+            // This does not automatically walk into the subquery.
             proc.visit(el) ;
             after(el) ;
         }


Mime
View raw message