You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2015/05/13 23:05:20 UTC
incubator-tinkerpop git commit: using Sugar in the GroovyBranchTest.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 80b5e86b0 -> 02a2e5458
using Sugar in the GroovyBranchTest.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/02a2e545
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/02a2e545
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/02a2e545
Branch: refs/heads/master
Commit: 02a2e5458e51d414d13fd55e991982d47ffeb758
Parents: 80b5e86
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Wed May 13 15:05:00 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Wed May 13 15:05:14 2015 -0600
----------------------------------------------------------------------
.../gremlin/process/traversal/step/branch/GroovyBranchTest.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/02a2e545/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyBranchTest.groovy
----------------------------------------------------------------------
diff --git a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyBranchTest.groovy b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyBranchTest.groovy
index 8f41d26..49046a6 100644
--- a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyBranchTest.groovy
+++ b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyBranchTest.groovy
@@ -37,7 +37,7 @@ public abstract class GroovyBranchTest {
@Override
public Traversal<Vertex, Object> get_g_V_branchXlabelX_optionXperson__ageX_optionXsoftware__langX_optionXsoftware__nameX() {
TraversalScriptHelper.compute("""
- g.V.branch{it.get().label() == 'person' ? 'a' : 'b'}
+ g.V.branch{it.label == 'person' ? 'a' : 'b'}
.option('a', __.age)
.option('b', __.lang)
.option('b', __.name)