From fc4a21775a5b52377dbe7c2dfa72019fd168d8a9 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 8 Aug 2018 11:00:14 +0200 Subject: [PATCH] DATAMONGO-2043 - Polishing. Slightly tweak Javadoc. Original pull request: #589. --- .../data/mongodb/core/convert/MappingMongoConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/MappingMongoConverter.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/MappingMongoConverter.java index 041701724..130fe6b66 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/MappingMongoConverter.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/MappingMongoConverter.java @@ -399,10 +399,10 @@ public class MappingMongoConverter extends AbstractMongoConverter implements App } /** - * Check if a given type requires a type hint {@literal aka _class attribute} when writing to the document. + * Check if a given type requires a type hint (aka {@literal _class} attribute) when writing to the document. * * @param type must not be {@literal null}. - * @return true if not a simple type, collection or type with custom write target. + * @return {@literal true} if not a simple type, {@link Collection} or type with custom write target. */ private boolean requiresTypeHint(Class type) {