File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
source/fundamentals/connection Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -268,11 +268,12 @@ settings to modify the driver's behavior:
268268 using the ``applyConnectionString()`` method.
269269 |
270270 | For example:
271- .. code-block:: java
272- :emphasize-lines: 3
273- MongoClient mongoClient = MongoClients.create(
274- MongoClientSettings.builder()
275- .applyConnectionString(new ConnectionString("mongodb+srv://host1.acme.com")))
271+
272+ .. code-block:: java
273+ :emphasize-lines: 3
274+ MongoClient mongoClient =
275+ MongoClients.create(MongoClientSettings.builder()
276+ .applyConnectionString(new ConnectionString("mongodb+srv://host1.acme.com")))
276277
277278 * - ``srvMaxHosts()``
278279 - | Sets the maximum number of hosts the driver can connect to when using
You can’t perform that action at this time.
0 commit comments