Added deprecated annotation to tryRandomCommit()

Strangely this method was deprecated back in 3.1.1, but the annotation was not 
added (just the javadoc). CTR


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

Branch: refs/heads/TINKERPOP-1235
Commit: bfda5508a1673d4c65b9bb5c9d67b8b83ed349c1
Parents: 781ff3a
Author: Stephen Mallette <[email protected]>
Authored: Wed Oct 26 14:30:59 2016 -0400
Committer: Stephen Mallette <[email protected]>
Committed: Wed Oct 26 14:30:59 2016 -0400

----------------------------------------------------------------------
 CHANGELOG.asciidoc                                                  | 1 +
 .../main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/bfda5508/CHANGELOG.asciidoc
----------------------------------------------------------------------
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 0dafd1c..52ae70d 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -26,6 +26,7 @@ 
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
 TinkerPop 3.1.6 (Release Date: NOT OFFICIALLY RELEASED YET)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+* Deprecated `tryRandomCommit()` in `AbstractGremlinTest` - the annotation was 
never added in 3.1.1, and was only deprecated via javadoc.
 * Minor fixes to various test feature requirements in `gremlin-test`.
 
 [[release-3-1-5]]

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/bfda5508/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java
----------------------------------------------------------------------
diff --git 
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java
 
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java
index 2a97cd0..a1a6d5b 100644
--- 
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java
+++ 
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinTest.java
@@ -209,6 +209,7 @@ public abstract class AbstractGremlinTest {
      *
      * @deprecated as of 3.1.1-incubating, and is not replaced
      */
+    @Deprecated
     public void tryRandomCommit(final Graph graph) {
         if (graph.features().graph().supportsTransactions() && new 
Random().nextBoolean())
             graph.tx().commit();

Reply via email to