tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ok...@apache.org
Subject [10/15] incubator-tinkerpop git commit: Just realized that numerous tests are excluded because local traversals are being verified as global in ComputerVerificationStrategy. Given that TraversalEngine no longer exists, added TraversalParent.isLocalChild(
Date Thu, 11 Feb 2016 19:45:16 GMT
Just realized that numerous tests are excluded because local traversals are being verified
as global in ComputerVerificationStrategy. Given that TraversalEngine no longer exists, added
TraversalParent.isLocalChild() to test if the child is local or global and updated ComputerVerificationStrategy
accordingly.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/cdfebf07
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/cdfebf07
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/cdfebf07

Branch: refs/heads/master
Commit: cdfebf07e7c91a763b4c690e0c62848d26fa0432
Parents: 5f1cbd9
Author: Marko A. Rodriguez <okrammarko@gmail.com>
Authored: Tue Feb 9 09:05:23 2016 -0700
Committer: Marko A. Rodriguez <okrammarko@gmail.com>
Committed: Tue Feb 9 09:05:23 2016 -0700

----------------------------------------------------------------------
 .../tinkerpop/gremlin/process/traversal/step/TraversalParent.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/cdfebf07/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java
index 904124c..74e95e9 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/TraversalParent.java
@@ -61,7 +61,7 @@ public interface TraversalParent {
     }
 
     public default boolean isGlobalChild(final Traversal.Admin<?, ?> child) {
-        return this.getLocalChildren().contains(child);
+        return this.getGlobalChildren().contains(child);
     }
 
     public default Set<TraverserRequirement> getSelfAndChildRequirements(final TraverserRequirement...
selfRequirements) {


Mime
View raw message