Skip to content

Commit d94aa12

Browse files
committed
Polishing.
Adjust grammar. Mention that we use proxies for PropertyValueConverter registration when using method handles. Original pull request: #4553 See #4536
1 parent fcf3143 commit d94aa12

File tree

3 files changed

+74
-66
lines changed

3 files changed

+74
-66
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,8 @@ default <T> List<T> findDistinct(Query query, String field, String collection, C
946946
* Triggers <a href="https://docs.mongodb.org/manual/reference/method/db.collection.findAndModify/">findAndModify </a>
947947
* to apply provided {@link Update} on documents matching {@link Criteria} of given {@link Query}.
948948
* <p>
949-
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be auto
950-
* incremented if not explicitly specified in the update.
949+
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be
950+
* auto-incremented if not explicitly specified in the update.
951951
*
952952
* @param query the {@link Query} class that specifies the {@link Criteria} used to find a document and also an
953953
* optional fields specification. Must not be {@literal null}.
@@ -965,8 +965,8 @@ default <T> List<T> findDistinct(Query query, String field, String collection, C
965965
* Triggers <a href="https://docs.mongodb.org/manual/reference/method/db.collection.findAndModify/">findAndModify </a>
966966
* to apply provided {@link Update} on documents matching {@link Criteria} of given {@link Query}.
967967
* <p>
968-
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be auto
969-
* incremented if not explicitly specified in the update.
968+
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be
969+
* auto-incremented if not explicitly specified in the update.
970970
*
971971
* @param query the {@link Query} class that specifies the {@link Criteria} used to find a document and also an
972972
* optional fields specification. Must not be {@literal null}.
@@ -986,8 +986,8 @@ default <T> List<T> findDistinct(Query query, String field, String collection, C
986986
* to apply provided {@link Update} on documents matching {@link Criteria} of given {@link Query} taking
987987
* {@link FindAndModifyOptions} into account.
988988
* <p>
989-
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be auto
990-
* incremented if not explicitly specified in the update.
989+
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be
990+
* auto-incremented if not explicitly specified in the update.
991991
*
992992
* @param query the {@link Query} class that specifies the {@link Criteria} used to find a document and also an
993993
* optional fields specification.
@@ -1009,8 +1009,8 @@ default <T> List<T> findDistinct(Query query, String field, String collection, C
10091009
* to apply provided {@link Update} on documents matching {@link Criteria} of given {@link Query} taking
10101010
* {@link FindAndModifyOptions} into account.
10111011
* <p>
1012-
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be auto
1013-
* incremented if not explicitly specified in the update.
1012+
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be
1013+
* auto-incremented if not explicitly specified in the update.
10141014
*
10151015
* @param query the {@link Query} class that specifies the {@link Criteria} used to find a document and also an
10161016
* optional fields specification. Must not be {@literal null}.
@@ -1536,8 +1536,8 @@ default long exactCount(Query query, String collectionName) {
15361536
* Performs an upsert. If no document is found that matches the query, a new document is created and inserted by
15371537
* combining the query document and the update document.
15381538
* <p>
1539-
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be auto
1540-
* incremented if not explicitly specified in the update.
1539+
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be
1540+
* auto-incremented if not explicitly specified in the update.
15411541
* <p>
15421542
* <strong>NOTE:</strong> {@link Query#getSortObject() sorting} is not supported by {@code db.collection.updateOne}.
15431543
* Use {@link #findAndModify(Query, UpdateDefinition, FindAndModifyOptions, Class, String)} instead.
@@ -1581,8 +1581,8 @@ default long exactCount(Query query, String collectionName) {
15811581
* Performs an upsert. If no document is found that matches the query, a new document is created and inserted by
15821582
* combining the query document and the update document.
15831583
* <p>
1584-
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be auto
1585-
* incremented if not explicitly specified in the update.
1584+
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be
1585+
* auto-incremented if not explicitly specified in the update.
15861586
*
15871587
* @param query the query document that specifies the criteria used to select a document to be upserted. Must not be
15881588
* {@literal null}.
@@ -1601,8 +1601,8 @@ default long exactCount(Query query, String collectionName) {
16011601
* Updates the first object that is found in the collection of the entity class that matches the query document with
16021602
* the provided update document.
16031603
* <p>
1604-
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be auto
1605-
* incremented if not explicitly specified in the update.
1604+
* A potential {@link org.springframework.data.annotation.Version} property of the {@literal entityClass} will be
1605+
* auto-incremented if not explicitly specified in the update.
16061606
*
16071607
* @param query the query document that specifies the criteria used to select a document to be updated. Must not be
16081608
* {@literal null}.

0 commit comments

Comments
 (0)