You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by rd...@apache.org on 2017/08/16 16:45:04 UTC
[5/7] tinkerpop git commit: Fix bad syntax in traversal docs CTR
Fix bad syntax in traversal docs CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/47a833c3
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/47a833c3
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/47a833c3
Branch: refs/heads/TINKERPOP-1749
Commit: 47a833c3de8be283965131e0d7bc9bd224336c89
Parents: 628d708
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri Aug 11 09:32:26 2017 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri Aug 11 09:33:27 2017 -0400
----------------------------------------------------------------------
docs/src/reference/the-traversal.asciidoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/47a833c3/docs/src/reference/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/the-traversal.asciidoc b/docs/src/reference/the-traversal.asciidoc
index c7fbcde..3e67a25 100644
--- a/docs/src/reference/the-traversal.asciidoc
+++ b/docs/src/reference/the-traversal.asciidoc
@@ -2923,7 +2923,7 @@ graph = TinkerFactory.createModern()
l = new ConsoleMutationListener(graph)
strategy = EventStrategy.build().addListener(l).create()
g = graph.traversal().withStrategies(strategy)
-g.addV('name','stephen')
+g.addV().property('name','stephen')
g.E().drop()
----