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/05/18 22:22:01 UTC
incubator-tinkerpop git commit: minor tweak.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 9413d6647 -> 9d003c49c
minor tweak.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/9d003c49
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/9d003c49
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/9d003c49
Branch: refs/heads/master
Commit: 9d003c49cb97a799deaaa13e47f6fb3cefd21a0c
Parents: 9413d66
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Mon May 18 14:22:12 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Mon May 18 14:22:12 2015 -0600
----------------------------------------------------------------------
.../src/main/java/org/apache/tinkerpop/gremlin/structure/P.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/9d003c49/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/P.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/P.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/P.java
index 76f994e..ad9e4dc 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/P.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/P.java
@@ -72,7 +72,7 @@ public class P<V> implements Predicate<V>, Serializable, Cloneable {
return other instanceof P &&
((P) other).getClass().equals(this.getClass()) &&
((P) other).getBiPredicate().equals(this.biPredicate) &&
- ((((P) other).getValue() == null && this.getValue() == null) || ((P) other).getValue().equals(this.getValue()));
+ ((((P) other).getValue() == null && this.value == null) || ((P) other).getValue().equals(this.value));
}
@Override