Skip to content

Commit 4f85b13

Browse files
committed
tweaks based on internal review feedback
1 parent 38db069 commit 4f85b13

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

source/fundamentals/connection/mongoclientsettings.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,11 @@ settings to modify the driver's behavior:
262262

263263
* - ``srvHost()``
264264
- | Sets the host name to use to look up an SRV DNS record to find the
265-
MongoDB hosts. When setting ``srvHost``, the driver does not process any associated
266-
TXT records associated with the host. If you want to enable the processing of TXT records,
267-
you must specify the SRV host in the connection string
268-
using the ``applyConnectionString()`` method.
265+
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.
269270
|
270271
| For example:
271272

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ package:
285285

286286
* - ``BsonRepresentation``
287287
- Specifies the BSON type used to store the value when different from the
288-
POJO property. :ref:`bsonrepresentation-annotation-code-example`
288+
POJO property. See an example of :ref:`bsonrepresentation-annotation-code-example` on this page.
289289

290290
* - ``BsonId``
291291
- Marks a property to serialize as the _id property.
@@ -297,7 +297,9 @@ 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. When applying ``@BsonProperty`` to a private field,
300+
nested within the field.
301+
|
302+
| When applying ``@BsonProperty`` to a private field,
301303
**you must also add getter and setter methods for that field to serialize and
302304
customize the field name**.
303305

@@ -310,7 +312,7 @@ package:
310312
- `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__
311313
- ``Map<String, Object>``
312314

313-
:ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
315+
| See an example of :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
314316

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

0 commit comments

Comments
 (0)