tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [08/44] tinkerpop git commit: Update changelog and minor tweak to if statement null check CTR
Date Wed, 24 Jan 2018 14:54:09 GMT
Update changelog and minor tweak to if statement null check CTR


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

Branch: refs/heads/TINKERPOP-1857
Commit: c4b0f9de04fda08db5b6b03a91ba58f3def0217a
Parents: 7e80bcc
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Mon Jan 8 12:43:38 2018 -0500
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Mon Jan 8 12:43:38 2018 -0500

----------------------------------------------------------------------
 CHANGELOG.asciidoc                                                 | 1 +
 .../apache/tinkerpop/gremlin/driver/message/RequestMessage.java    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c4b0f9de/CHANGELOG.asciidoc
----------------------------------------------------------------------
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 06261fd..ed32f05 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -23,6 +23,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
 [[release-3-2-8]]
 === TinkerPop 3.2.8 (Release Date: NOT OFFICIALLY RELEASED YET)
 
+* Delayed setting of the request identifier until `RequestMessage` construction by the builder.
 
 [[release-3-2-7]]
 === TinkerPop 3.2.7 (Release Date: December 17, 2017)

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/c4b0f9de/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/message/RequestMessage.java
----------------------------------------------------------------------
diff --git a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/message/RequestMessage.java
b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/message/RequestMessage.java
index e836568..dc10baf 100644
--- a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/message/RequestMessage.java
+++ b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/message/RequestMessage.java
@@ -155,7 +155,7 @@ public final class RequestMessage {
          * Create the request message given the settings provided to the {@link Builder}.
          */
         public RequestMessage create() {
-            return new RequestMessage(requestId == null ? UUID.randomUUID() : requestId,
op, processor, args);
+            return new RequestMessage(null == requestId ? UUID.randomUUID() : requestId,
op, processor, args);
         }
     }
 


Mime
View raw message