Skip to content

Commit 4262df6

Browse files
committed
tweaks based on internal review feedback - indentation issues
1 parent 75f8585 commit 4262df6

File tree

2 files changed

+15
-19
lines changed

2 files changed

+15
-19
lines changed

source/fundamentals/connection/mongoclientsettings.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,12 @@ settings to modify the driver's behavior:
263263
* - ``srvHost()``
264264
- | Sets the host name to use to look up an SRV DNS record to find the
265265
MongoDB hosts.
266-
|
267-
| If you want to enable the processing of TXT records associated with the host,
268-
specify the SRV host in the connection string
269-
using the ``applyConnectionString()`` method.
270-
|
271-
| For example:
266+
|
267+
| If you want to enable the processing of TXT records associated with the host,
268+
specify the SRV host in the connection string
269+
using the ``applyConnectionString()`` method.
270+
|
271+
| For example:
272272

273273
.. code-block:: java
274274
:emphasize-lines: 3

source/fundamentals/data-formats/pojo-customization.txt

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -297,24 +297,20 @@ package:
297297
* - ``BsonProperty``
298298
- Specifies a custom document field name when converting the POJO
299299
field to BSON. You can include a discriminator to serialize POJOs
300-
nested within the field.
301-
302-
|
303-
| When applying ``@BsonProperty`` to a private field,
300+
nested within the field. When applying ``@BsonProperty`` to a private field,
304301
**you must also add getter and setter methods for that field to serialize and
305302
customize the field name**.
306303

307304

308305
* - ``BsonExtraElements``
309-
- Specifies the POJO field on which to deserialize all elements that are
310-
not mapped to a field. The POJO field must be one of the following
311-
types:
312-
313-
- `Document <{+api+}/apidocs/bson/org/bson/Document.html>`__
314-
- `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__
315-
- ``Map<String, Object>``
316-
317-
| See an example of :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
306+
- | Specifies the POJO field on which to deserialize all elements that are
307+
not mapped to a field. The POJO field must be one of the following
308+
types:
309+
- `Document <{+api+}/apidocs/bson/org/bson/Document.html>`__
310+
- `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__
311+
- ``Map<String, Object>``
312+
|
313+
| See an example of :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
318314

319315
The following code snippet shows a sample POJO called ``Product`` that uses
320316
several of the preceding annotations.

0 commit comments

Comments
 (0)