tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ok...@apache.org
Subject [27/50] incubator-tinkerpop git commit: replace graphProvider.convertId(1, Vertex.class) with convertToVertexId("Marko")
Date Thu, 03 Dec 2015 16:43:23 GMT
replace graphProvider.convertId(1, Vertex.class) with convertToVertexId("Marko")


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

Branch: refs/heads/TINKERPOP3-982
Commit: 8b4f53c1963dead1d29041250225e0e5f295da24
Parents: 3a78fdb
Author: pieter <pieter.martin@gmail.com>
Authored: Mon Nov 30 22:25:31 2015 +0200
Committer: pieter <pieter.martin@gmail.com>
Committed: Mon Nov 30 22:25:31 2015 +0200

----------------------------------------------------------------------
 .../gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/8b4f53c1/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy
----------------------------------------------------------------------
diff --git a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy
b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy
index 021ba41..e9d992c 100644
--- a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy
+++ b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/groovy/loaders/SugarLoaderPerformanceTest.groovy
@@ -111,27 +111,27 @@ class SugarLoaderPerformanceTest extends AbstractGremlinTest {
     @LoadGraphWith(LoadGraphWith.GraphData.MODERN)
     @Test
     public void java_g_VX1X_name() throws Exception {
-        g.V(graphProvider.convertId(1, Vertex.class)).values("name").iterate()
+        g.V(convertToVertexId("marko")).values("name").iterate()
     }
 
     @BenchmarkOptions(benchmarkRounds = SugarLoaderPerformanceTest.DEFAULT_BENCHMARK_ROUNDS,
warmupRounds = SugarLoaderPerformanceTest.DEFAULT_WARMUP_ROUNDS, concurrency = BenchmarkOptions.CONCURRENCY_SEQUENTIAL)
     @LoadGraphWith(LoadGraphWith.GraphData.MODERN)
     @Test
     public void groovy_g_VX1X_name() throws Exception {
-        g.V(graphProvider.convertId(1, Vertex.class)).name.iterate()
+        g.V(convertToVertexId("marko")).name.iterate()
     }
 
     @BenchmarkOptions(benchmarkRounds = SugarLoaderPerformanceTest.DEFAULT_BENCHMARK_ROUNDS,
warmupRounds = SugarLoaderPerformanceTest.DEFAULT_WARMUP_ROUNDS, concurrency = BenchmarkOptions.CONCURRENCY_SEQUENTIAL)
     @LoadGraphWith(LoadGraphWith.GraphData.MODERN)
     @Test
     public void java_g_VX1X_outE() throws Exception {
-        g.V(graphProvider.convertId(1, Vertex.class)).outE().iterate()
+        g.V(convertToVertexId("marko")).outE().iterate()
     }
 
     @BenchmarkOptions(benchmarkRounds = SugarLoaderPerformanceTest.DEFAULT_BENCHMARK_ROUNDS,
warmupRounds = SugarLoaderPerformanceTest.DEFAULT_WARMUP_ROUNDS, concurrency = BenchmarkOptions.CONCURRENCY_SEQUENTIAL)
     @LoadGraphWith(LoadGraphWith.GraphData.MODERN)
     @Test
     public void groovy_g_VX1X_outE() throws Exception {
-        g.V(graphProvider.convertId(1, Vertex.class)).outE.iterate()
+        g.V(convertToVertexId("marko")).outE.iterate()
     }
 }


Mime
View raw message