You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2015/06/23 00:34:06 UTC

[3/4] incubator-tinkerpop git commit: forgot one spot in SubgraphStrategy that needed where() to be filter().

forgot one spot in SubgraphStrategy that needed where() to be filter().


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

Branch: refs/heads/master
Commit: dcd5171e120bda9b80efba49b1bb36782ef86c74
Parents: 4b4ab6c
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Mon Jun 22 15:29:41 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Mon Jun 22 15:29:41 2015 -0600

----------------------------------------------------------------------
 .../process/traversal/strategy/decoration/SubgraphStrategy.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/dcd5171e/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
index 2cc3610..3b2767c 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
@@ -61,8 +61,8 @@ public final class SubgraphStrategy extends AbstractTraversalStrategy<TraversalS
         if (null == vertexCriterion) {
             this.edgeCriterion = edgeCriterion;
         } else {
-            final Traversal<Object, Vertex> inVertexPredicate = __.inV().where(vertexCriterion);
-            final Traversal<Object, Vertex> outVertexPredicate = __.outV().where(vertexCriterion);
+            final Traversal<Object, Vertex> inVertexPredicate = __.inV().filter(vertexCriterion);
+            final Traversal<Object, Vertex> outVertexPredicate = __.outV().filter(vertexCriterion);
 
             // if there is a vertex predicate then there is an implied edge filter on vertices even if there is no
             // edge predicate provided by the user.