Skip to content

Commit ec84ec5

Browse files
committed
vale
1 parent b04ac8a commit ec84ec5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/data-formats/codecs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ retrieved by the ``CodecProvider.get()`` method to convert between
210210
{+language+} and BSON data types.
211211

212212
However, in cases that you add a class that contains fields requiring
213-
corresponding ``Codec`` objects, you need to ensure that you instantiate the
213+
corresponding ``Codec`` objects, ensure that you instantiate the
214214
``Codec`` objects for the class' fields before you instantiate the
215215
``Codec`` for the entire class. You can use the ``CodecRegistry`` parameter in
216216
the ``CodecProvider.get()`` method to pass any of the ``Codec``
@@ -232,7 +232,7 @@ unless you specify a different one.
232232

233233
.. _kotlin-sync-codecs-override:
234234

235-
If you need to override the behavior of one or more ``Codec`` classes, but
235+
To override the behavior of one or more ``Codec`` classes, but
236236
keep the behavior from the default codec registry for the other classes,
237237
you can specify the registries in order of precedence. For example,
238238
suppose you want to override the default provider behavior of a ``Codec`` for

0 commit comments

Comments
 (0)