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 2016/02/04 23:51:10 UTC

incubator-tinkerpop git commit: OMG, the most insane bug for the last two hours. Painfull......

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-962 25e5b2404 -> ed18cd938


OMG, the most insane bug for the last two hours. Painfull......


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

Branch: refs/heads/TINKERPOP-962
Commit: ed18cd9382ee1e2db7f4618a72e9d28ed6b2fb2a
Parents: 25e5b24
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Thu Feb 4 15:51:08 2016 -0700
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Thu Feb 4 15:51:08 2016 -0700

----------------------------------------------------------------------
 .../org/apache/tinkerpop/gremlin/process/computer/GraphFilter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/ed18cd93/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphFilter.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphFilter.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphFilter.java
index bce49be..0be3392 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphFilter.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/computer/GraphFilter.java
@@ -123,7 +123,7 @@ public final class GraphFilter implements Cloneable, Serializable {
             return Legal.YES;
         else if (this.allowNoEdges)
             return Legal.NO;
-        else if (!direction.equals(Direction.BOTH) && !this.allowedEdgeDirection.equals(direction))
+        else if (!this.allowedEdgeDirection.equals(Direction.BOTH) && !this.allowedEdgeDirection.equals(direction))
             return Legal.NO;
         else if (!this.allowedEdgeLabels.isEmpty() && !this.allowedEdgeLabels.contains(label))
             return Legal.NO;