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 2017/03/04 11:01:34 UTC
tinkerpop git commit: fixed return type of Groovy test method
Repository: tinkerpop
Updated Branches:
refs/heads/TINKERPOP-1643 565522d2c -> 746a70bd1
fixed return type of Groovy test method
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/746a70bd
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/746a70bd
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/746a70bd
Branch: refs/heads/TINKERPOP-1643
Commit: 746a70bd1d825b0582c8ce6bf721c946c16c4799
Parents: 565522d
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Sat Mar 4 12:00:11 2017 +0100
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Sat Mar 4 12:00:11 2017 +0100
----------------------------------------------------------------------
.../process/traversal/step/branch/GroovyRepeatTest.groovy | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/746a70bd/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy
----------------------------------------------------------------------
diff --git a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy
index ec2c80a..e733356 100644
--- a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy
+++ b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy
@@ -23,11 +23,6 @@ import org.apache.tinkerpop.gremlin.process.traversal.Traversal
import org.apache.tinkerpop.gremlin.process.traversal.util.ScriptTraversal
import org.apache.tinkerpop.gremlin.structure.Vertex
-import static org.apache.tinkerpop.gremlin.process.traversal.Pop.all
-import static org.apache.tinkerpop.gremlin.process.traversal.Scope.local
-import static org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.both
-import static org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.count
-
/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
@@ -96,7 +91,7 @@ public abstract class GroovyRepeatTest {
}
@Override
- public Traversal<Vertex, List<Vertex>> get_g_V_emit_repeatXboth_dedupX_order_byXcountXlocalXX() {
+ public Traversal<Vertex, Vertex> get_g_V_emit_repeatXboth_dedupX_order_byXcountXlocalXX() {
new ScriptTraversal<>(g, "gremlin-groovy", "g.V.emit.repeat(both.dedup).order.by(count(local))")
}
}