@@ -236,8 +236,8 @@ public Optional<Class<?>> getCustomWriteTarget(Class<?> sourceType) {
236
236
}
237
237
238
238
/**
239
- * Returns the target type we can readTargetWriteLocl an inject of the given source type to. The returned type might
240
- * be a subclass of the given expected type though. If {@code expectedTargetType } is {@literal null} we will simply
239
+ * Returns the target type we can read an inject of the given source type to. The returned type might
240
+ * be a subclass of the given expected type though. If {@code requestedTargetType } is {@literal null} we will simply
241
241
* return the first target type matching or {@literal null} if no conversion can be found.
242
242
*
243
243
* @param sourceType must not be {@literal null}
@@ -255,7 +255,7 @@ public Optional<Class<?>> getCustomWriteTarget(Class<?> sourceType, Class<?> req
255
255
}
256
256
257
257
/**
258
- * Returns whether we have a custom conversion registered to readTargetWriteLocl into a Mongo native type. The
258
+ * Returns whether we have a custom conversion registered to read {@code sourceType} into a native type. The
259
259
* returned type might be a subclass of the given expected type though.
260
260
*
261
261
* @param sourceType must not be {@literal null}
@@ -269,8 +269,8 @@ public boolean hasCustomWriteTarget(Class<?> sourceType) {
269
269
}
270
270
271
271
/**
272
- * Returns whether we have a custom conversion registered to readTargetWriteLocl an object of the given source type
273
- * into an object of the given Mongo native target type.
272
+ * Returns whether we have a custom conversion registered to read an object of the given source type
273
+ * into an object of the given native target type.
274
274
*
275
275
* @param sourceType must not be {@literal null}.
276
276
* @param targetType must not be {@literal null}.
@@ -285,7 +285,7 @@ public boolean hasCustomWriteTarget(Class<?> sourceType, Class<?> targetType) {
285
285
}
286
286
287
287
/**
288
- * Returns whether we have a custom conversion registered to readTargetReadLock the given source into the given target
288
+ * Returns whether we have a custom conversion registered to read the given source into the given target
289
289
* type.
290
290
*
291
291
* @param sourceType must not be {@literal null}
@@ -301,8 +301,8 @@ public boolean hasCustomReadTarget(Class<?> sourceType, Class<?> targetType) {
301
301
}
302
302
303
303
/**
304
- * Returns the actual target type for the given {@code sourceType} and {@code requestedTargetType }. Note that the
305
- * returned {@link Class} could be an assignable type to the given {@code requestedTargetType }.
304
+ * Returns the actual target type for the given {@code sourceType} and {@code targetType }. Note that the
305
+ * returned {@link Class} could be an assignable type to the given {@code targetType }.
306
306
*
307
307
* @param sourceType must not be {@literal null}.
308
308
* @param targetType must not be {@literal null}.
@@ -314,7 +314,7 @@ private Class<?> getCustomReadTarget(Class<?> sourceType, Class<?> targetType) {
314
314
}
315
315
316
316
/**
317
- * Inspects the given {@link ConvertiblePair}s for ones that have a source compatible type as source. Additionally
317
+ * Inspects the given {@link ConvertiblePair ConvertiblePairs} for ones that have a source compatible type as source. Additionally
318
318
* checks assignability of the target type if one is given.
319
319
*
320
320
* @param sourceType must not be {@literal null}.
0 commit comments