Skip to content

Commit 5c25924

Browse files
committed
Change javadoc.
1 parent 9fbf11b commit 5c25924

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

driver-core/src/main/com/mongodb/ConnectionString.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,8 @@
277277
* <li>{@code maxAdaptiveRetries=n}: This is {@linkplain Beta Beta API}.
278278
* The maximum number of retry attempts when encountering a retryable overload error.
279279
* See {@link MongoClientSettings.Builder#maxAdaptiveRetries(Integer)} for more information.</li>
280-
* <li>{@code enableOverloadRetargeting=true|false}. If true the driver may route a request to a different server on a subsequent
281-
* retry attempt if the previously used server is overloaded. Does not take effect for {@linkplain ClusterType#SHARDED sharded clusters}.
282-
* Defaults to false. See {@link MongoClientSettings.Builder#enableOverloadRetargeting(boolean)} for more information.</li>
280+
* <li>{@code enableOverloadRetargeting=true|false}: Whether to enable overload retargeting. Defaults to false.
281+
* See {@link MongoClientSettings.Builder#enableOverloadRetargeting(boolean)} for more information.</li>
283282
* <li>{@code uuidRepresentation=unspecified|standard|javaLegacy|csharpLegacy|pythonLegacy}. See
284283
* {@link MongoClientSettings#getUuidRepresentation()} for documentation of semantics of this parameter. Defaults to "javaLegacy", but
285284
* will change to "unspecified" in the next major release.</li>

driver-legacy/src/main/com/mongodb/MongoClientURI.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,7 @@
218218
* <li>{@code maxAdaptiveRetries=n}: This is {@linkplain Beta Beta API}.
219219
* The maximum number of retry attempts when encountering a retryable overload error.
220220
* See {@link MongoClientSettings.Builder#maxAdaptiveRetries(Integer)} for more information.</li>
221-
* <li>{@code enableOverloadRetargeting=true|false}. If true the driver may route a request to a different server on a subsequent
222-
* retry attempt if the previously used server is overloaded. Does not take effect for
223-
* {@linkplain com.mongodb.connection.ClusterType#SHARDED sharded clusters}. Defaults to false.
221+
* <li>{@code enableOverloadRetargeting=true|false}: Whether to enable overload retargeting. Defaults to false.
224222
* See {@link MongoClientSettings.Builder#enableOverloadRetargeting(boolean)} for more information.</li>
225223
* <li>{@code uuidRepresentation=unspecified|standard|javaLegacy|csharpLegacy|pythonLegacy}. See
226224
* {@link MongoClientOptions#getUuidRepresentation()} for documentation of semantics of this parameter. Defaults to "javaLegacy", but

0 commit comments

Comments
 (0)