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 2015/09/03 19:51:43 UTC
[16/50] [abbrv] incubator-tinkerpop git commit: a much cleaner
implementation of g.V([1, 2, 3]) for OLAP where [v1, v2,
..] are converted to [1, 2,
...] prior to submission to the cluster so you don't serialize elements.
a much cleaner implementation of g.V([1,2,3]) for OLAP where [v1,v2,..] are converted to [1,2,...] prior to submission to the cluster so you don't serialize elements.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/04551b9c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/04551b9c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/04551b9c
Branch: refs/heads/blvp
Commit: 04551b9cef44d10949684bc67ebea9f4242a1adc
Parents: d5e5466
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Mon Aug 24 11:57:50 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Mon Aug 24 11:57:50 2015 -0600
----------------------------------------------------------------------
.../gremlin/structure/util/ElementHelper.java | 13 -------------
1 file changed, 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/04551b9c/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java
index 2e86c5b..7a7cf03 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java
@@ -550,17 +550,4 @@ public final class ElementHelper {
return false;
}
}
-
- public static boolean elementExists(final Element element, final Object... providedElements) {
- if (0 == providedElements.length) return true;
-
- if (1 == providedElements.length) return ElementHelper.areEqual(element, providedElements[0]);
- else {
- for (final Object temp : providedElements) {
- if (ElementHelper.areEqual(element, temp))
- return true;
- }
- return false;
- }
- }
}