File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ retrieved by the ``CodecProvider.get()`` method to convert between
210
210
{+language+} and BSON data types.
211
211
212
212
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
214
214
``Codec`` objects for the class' fields before you instantiate the
215
215
``Codec`` for the entire class. You can use the ``CodecRegistry`` parameter in
216
216
the ``CodecProvider.get()`` method to pass any of the ``Codec``
@@ -232,7 +232,7 @@ unless you specify a different one.
232
232
233
233
.. _kotlin-sync-codecs-override:
234
234
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
236
236
keep the behavior from the default codec registry for the other classes,
237
237
you can specify the registries in order of precedence. For example,
238
238
suppose you want to override the default provider behavior of a ``Codec`` for
You can’t perform that action at this time.
0 commit comments