You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by be...@apache.org on 2022/07/08 17:42:38 UTC

[tinkerpop] branch 3.5-dev updated: Copied the fixes from PR 1725 to the 3.5 branch to fix a javadoc comment on Cluster.Builder

This is an automated email from the ASF dual-hosted git repository.

bechbd pushed a commit to branch 3.5-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.5-dev by this push:
     new d62a325a1c Copied the fixes from PR 1725 to the 3.5 branch to fix a javadoc comment on Cluster.Builder
d62a325a1c is described below

commit d62a325a1c388bc7a0e698a8659022646fe283c8
Author: Dave Bechberger <db...@amazon.com>
AuthorDate: Fri Jul 8 17:06:44 2022 +0000

    Copied the fixes from PR 1725 to the 3.5 branch to fix a javadoc comment on Cluster.Builder
---
 CHANGELOG.asciidoc                                                      | 1 +
 .../src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 7832f18b7c..0468ef6bf6 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -43,6 +43,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
 * Ensured `Graph` instance was set between `TraversalStrategy` executions.
 * Fixed potential `NullPointerException` in `gremlin-driver` where initialization of a `ConnectionPool` would fail but not throw an exception due to centralized error check being satisfied by a different process.
 * Fixed a bug where the JavaScript client would hang indefinitely on traversals if the connection to the server was terminated.
+* Fix a javadoc comment in Cluster.Builder regarding maxInProcessPerConnection.
 
 [[release-3-5-3]]
 === TinkerPop 3.5.3 (Release Date: April 4, 2022)
diff --git a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java
index de71056f47..adc20f7063 100644
--- a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java
+++ b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java
@@ -780,7 +780,7 @@ public final class Cluster {
          * {@link #maxSimultaneousUsagePerConnection} setting, but is slightly different in that it refers to
          * the total number of requests on a {@link Connection}.  In other words, a {@link Connection} might
          * be borrowed once to have multiple requests executed against it.  This number controls the maximum
-         * number of requests whereas {@link #maxInProcessPerConnection} controls the times borrowed.
+         * number of requests whereas {@link #maxSimultaneousUsagePerConnection} controls the times borrowed.
          */
         public Builder maxInProcessPerConnection(final int maxInProcessPerConnection) {
             this.maxInProcessPerConnection = maxInProcessPerConnection;