You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2018/03/09 18:20:05 UTC
tinkerpop git commit: trying to fix Travis build
Repository: tinkerpop
Updated Branches:
refs/heads/TRAVIS-TEST [created] c8741e562
trying to fix Travis build
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/c8741e56
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/c8741e56
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/c8741e56
Branch: refs/heads/TRAVIS-TEST
Commit: c8741e5624f604b5fa3afcb467cb00609d417347
Parents: b4013a2
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Fri Mar 9 11:19:50 2018 -0700
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Fri Mar 9 11:19:50 2018 -0700
----------------------------------------------------------------------
.../traversal/strategy/decoration/SubgraphStrategy.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c8741e56/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 e0d260f..548e14e 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
@@ -93,8 +93,8 @@ public final class SubgraphStrategy extends AbstractTraversalStrategy<TraversalS
} else {
final Traversal.Admin<Edge, ?> vertexPredicate;
vertexPredicate = __.<Edge>and(
- __.inV().filter(this.vertexCriterion),
- __.outV().filter(this.vertexCriterion)).asAdmin();
+ __.inV().filter(this.vertexCriterion.clone()),
+ __.outV().filter(this.vertexCriterion).clone()).asAdmin();
// 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.
@@ -386,4 +386,4 @@ public final class SubgraphStrategy extends AbstractTraversalStrategy<TraversalS
return new SubgraphStrategy(this);
}
}
-}
\ No newline at end of file
+}