You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2016/03/15 19:18:35 UTC

incubator-tinkerpop git commit: Stopped setting "first" to false on reset()

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-575 a0ffa0701 -> a2ec7ab34


Stopped setting "first" to false on reset()

The clone() of a Traversal was forcing a call to reset() on the client side for RemoteGraph.  When the Traversal deserialized on the server AddVertexStep behaved as though it had already been iterated. It's not clear why this field was being set this way on reset() and all tests seem to pass, so we'll stick with removal of the setting of this field.


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

Branch: refs/heads/TINKERPOP-575
Commit: a2ec7ab34b5008d1bbac757ea025e903401fdd0d
Parents: a0ffa07
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue Mar 15 14:16:36 2016 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue Mar 15 14:16:36 2016 -0400

----------------------------------------------------------------------
 .../gremlin/process/traversal/step/map/AddVertexStartStep.java      | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/a2ec7ab3/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AddVertexStartStep.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AddVertexStartStep.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AddVertexStartStep.java
index 7313bd8..6f5f038 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AddVertexStartStep.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AddVertexStartStep.java
@@ -104,7 +104,6 @@ public final class AddVertexStartStep extends AbstractStep<Vertex, Vertex> imple
     @Override
     public void reset() {
         super.reset();
-        this.first = false;
     }
 
     @Override