tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkupp...@apache.org
Subject tinkerpop git commit: foo
Date Mon, 12 Mar 2018 20:46:30 GMT
Repository: tinkerpop
Updated Branches:
  refs/heads/TRAVIS-TEST c0bb93293 -> 0aa7aebe8


foo


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

Branch: refs/heads/TRAVIS-TEST
Commit: 0aa7aebe882b1337cfeb789a07748c40a1cff303
Parents: c0bb932
Author: Daniel Kuppitz <daniel_kuppitz@hotmail.com>
Authored: Mon Mar 12 13:46:28 2018 -0700
Committer: Daniel Kuppitz <daniel_kuppitz@hotmail.com>
Committed: Mon Mar 12 13:46:28 2018 -0700

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


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0aa7aebe/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalStrategies.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalStrategies.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalStrategies.java
index 36c074d..7ace019 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalStrategies.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/TraversalStrategies.java
@@ -178,7 +178,7 @@ public interface TraversalStrategies extends Serializable, Cloneable {
             }
         }
 
-        if (sortedStrategies.stream().anyMatch(s -> s instanceof SubgraphStrategy || s
instanceof RequirementsStrategy))
+        if (sortedStrategies.stream().anyMatch(s -> s instanceof SubgraphStrategy) &&
sortedStrategies.stream().anyMatch(s -> s instanceof RequirementsStrategy))
             logger.error("Sorted strategies: " + sortedStrategies.stream().map(TraversalStrategy::toString).collect(Collectors.toList()));
 
         return sortedStrategies;


Mime
View raw message