Repository: tinkerpop Updated Branches: refs/heads/master 748e76557 -> 6143b48b5
minor nothing tweak. Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/bb97c942 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/bb97c942 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/bb97c942 Branch: refs/heads/master Commit: bb97c9420840fbc7cfe1493c3a7abfa1b86b46e6 Parents: 5809700 Author: Marko A. Rodriguez <okramma...@gmail.com> Authored: Wed Nov 30 07:55:45 2016 -0700 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Thu Jan 19 15:15:32 2017 -0500 ---------------------------------------------------------------------- .../structure/util/reference/ReferenceVertexProperty.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/bb97c942/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/reference/ReferenceVertexProperty.java ---------------------------------------------------------------------- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/reference/ReferenceVertexProperty.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/reference/ReferenceVertexProperty.java index 93b4c48..472a63b 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/reference/ReferenceVertexProperty.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/reference/ReferenceVertexProperty.java @@ -34,7 +34,7 @@ import java.util.NoSuchElementException; public class ReferenceVertexProperty<V> extends ReferenceElement<VertexProperty<V>> implements VertexProperty<V> { private ReferenceVertex vertex; - private String key; + private String label; private V value; private ReferenceVertexProperty() { @@ -43,8 +43,8 @@ public class ReferenceVertexProperty<V> extends ReferenceElement<VertexProperty< public ReferenceVertexProperty(final VertexProperty<V> vertexProperty) { super(vertexProperty); - this.vertex = ReferenceFactory.detach(vertexProperty.element()); - this.key = vertexProperty.key(); + this.vertex = new ReferenceVertex(vertexProperty.element()); + this.label = vertexProperty.key(); this.value = vertexProperty.value(); } @@ -55,12 +55,12 @@ public class ReferenceVertexProperty<V> extends ReferenceElement<VertexProperty< @Override public String key() { - return this.key; + return this.label; } @Override public String label() { - return this.key; + return this.label; } @Override