tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkupp...@apache.org
Subject [02/10] incubator-tinkerpop git commit: Revert "Added another `edge()` method in `ScriptElementFactory` that allows to set explicit edge ids."
Date Thu, 11 Feb 2016 12:42:24 GMT
Revert "Added another `edge()` method in `ScriptElementFactory` that allows to set explicit
edge ids."

This reverts commit 50d5dd9bdb52633d9655f5a476f9885e6ff298d7.


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

Branch: refs/heads/master
Commit: 50b7f82883fa2d92b04efa8b7d537e2399865e06
Parents: 50d5dd9
Author: Daniel Kuppitz <daniel_kuppitz@hotmail.com>
Authored: Tue Feb 9 21:12:19 2016 +0100
Committer: Daniel Kuppitz <daniel_kuppitz@hotmail.com>
Committed: Tue Feb 9 21:12:19 2016 +0100

----------------------------------------------------------------------
 docs/src/reference/implementations.asciidoc                      | 1 -
 .../gremlin/hadoop/structure/io/script/ScriptRecordReader.java   | 4 ----
 2 files changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/50b7f828/docs/src/reference/implementations.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/implementations.asciidoc b/docs/src/reference/implementations.asciidoc
index 6b29ae7..439123d 100644
--- a/docs/src/reference/implementations.asciidoc
+++ b/docs/src/reference/implementations.asciidoc
@@ -1551,7 +1551,6 @@ Vertex vertex(Object id); // get or create the vertex with the given
id
 Vertex vertex(Object id, String label); // get or create the vertex with the given id and
label
 Edge edge(Vertex out, Vertex in); // create an edge between the two given vertices
 Edge edge(Vertex out, Vertex in, String label); // create an edge between the two given vertices
using the given label
-Edge edge(Vertex out, Vertex in, Object id, String label); // create an edge between the
two given vertices using the given edge id and label
 
 An appropriate `parse()` for the above adjacency list file is:
 

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/50b7f828/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/script/ScriptRecordReader.java
----------------------------------------------------------------------
diff --git a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/script/ScriptRecordReader.java
b/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/script/ScriptRecordReader.java
index b5e1cc0..4cc1602 100644
--- a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/script/ScriptRecordReader.java
+++ b/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/script/ScriptRecordReader.java
@@ -138,9 +138,5 @@ public final class ScriptRecordReader extends RecordReader<NullWritable,
VertexW
         public Edge edge(final Vertex out, final Vertex in, final String label) {
             return out.addEdge(label, in);
         }
-
-        public Edge edge(final Vertex out, final Vertex in, final Object id, final String
label) {
-            return out.addEdge(label, in, T.id, id);
-        }
     }
 }


Mime
View raw message