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/02/13 00:46:37 UTC
incubator-tinkerpop git commit: dah -- minor tweak to sack step doc.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master a0079b6e0 -> 8d01256e9
dah -- minor tweak to sack step doc.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/8d01256e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/8d01256e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/8d01256e
Branch: refs/heads/master
Commit: 8d01256e92fd8f9bc410f4686ee02e974ce984ee
Parents: a0079b6
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Thu Feb 12 16:46:34 2015 -0700
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Thu Feb 12 16:46:34 2015 -0700
----------------------------------------------------------------------
docs/src/the-traversal.asciidoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/8d01256e/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index da9c258..edd3a28 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -1041,7 +1041,7 @@ image:gremlin-sacks-running.png[width=175,float=right] A traverser can contain a
* *Initial value supplier*: A `Supplier` providing the initial value of each traverser's sack.
* *Split operator*: a `UnaryOperator` that clones the traverser's sack when the traverser splits. If no split operator is provided, then `UnaryOperator.identity()` is assumed.
-Two trivial examples are presented below to demonstrate the *initial value supplier*. In the first example below, a traverser is created at each vertex in the graph (`g.V()`), with a 1.0 sack (`withSack{1.0f}`), and then the sack value is accessed (`sack()`). In the second example, a random float supplier is used to generate sack values.
+Two trivial examples are presented below to demonstrate the *initial value supplier*. In the first example below, a traverser is created at each vertex in the graph (`g.V()`), with a 1.0 sack (`withSack(1.0f)`), and then the sack value is accessed (`sack()`). In the second example, a random float supplier is used to generate sack values.
[gremlin-groovy,modern]
----