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 2016/03/20 21:13:03 UTC

incubator-tinkerpop git commit: added syntax hightlighting to a few blurbs of the upgrade docs. CTR.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 8bac25997 -> 86e098e73


added syntax hightlighting to a few blurbs of the upgrade docs. CTR.


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

Branch: refs/heads/master
Commit: 86e098e73080ff08f7c316f229ba8c588197adb8
Parents: 8bac259
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Sun Mar 20 14:12:58 2016 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Sun Mar 20 14:12:58 2016 -0600

----------------------------------------------------------------------
 docs/src/upgrade/release-3.2.x-incubating.asciidoc | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/86e098e7/docs/src/upgrade/release-3.2.x-incubating.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
index 317e746..d252435 100644
--- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
@@ -72,12 +72,13 @@ but instead throws an `IllegalArgumentException`. While the `Optional` semantics
 directly return the side-effect value to reduce object creation costs and because all side-effects must be registered apriori,
 there is never a reason why an unknown side-effect key would be used. In short:
 
-```
+[source,java]
+----
 // change
 traversal.getSideEffects().get("m").get()
 // to
 traversal.getSideEffects().get("m")
-```
+----
 
 TraversalSideEffects Registration Requirement
 +++++++++++++++++++++++++++++++++++++++++++++
@@ -100,7 +101,8 @@ to do the merging and thus, the `Step` must do `sideEffect.add("mySet",1)`, wher
 Thus, the below will increment "a". If no operator was provided, then the operator is assumed `Operator.assign` and the
 final result of "a" would be 1. Note that `Traverser.sideEffects(key,value)` uses `TraversalSideEffect.add()`.
 
-```
+[source,groovy]
+----
 gremlin> traversal = g.withSideEffect('a',0,sum).V().out().sideEffect{it.sideEffects('a',1)}
 ==>v[3]
 ==>v[2]
@@ -119,7 +121,7 @@ gremlin> traversal = g.withSideEffect('a',0).V().out().sideEffect{it.sideEffects
 ==>v[3]
 gremlin> traversal.getSideEffects().get('a')
 ==>1
-```
+----
 
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-1192[TINKERPOP-1192],
 https://issues.apache.org/jira/browse/TINKERPOP-1166[TINKERPOP-1166]