Skip to content

Commit 146a123

Browse files
author
Bryan Bess
authored
Javadoc: Fix result of MongoCollection.updateMany
1 parent d6b49e1 commit 146a123

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/src/main/com/mongodb/client/MongoCollection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ public interface MongoCollection<TDocument> {
425425
*
426426
* @param filter a document describing the query filter, which may not be null.
427427
* @param update a document describing the update, which may not be null. The update to apply must include only update operators.
428-
* @return the result of the update one operation
428+
* @return the result of the update many operation
429429
* @throws com.mongodb.MongoWriteException if the write failed due some other failure specific to the update command
430430
* @throws com.mongodb.MongoWriteConcernException if the write failed due being unable to fulfil the write concern
431431
* @throws com.mongodb.MongoException if the write failed due some other failure
@@ -440,7 +440,7 @@ public interface MongoCollection<TDocument> {
440440
* @param filter a document describing the query filter, which may not be null.
441441
* @param update a document describing the update, which may not be null. The update to apply must include only update operators.
442442
* @param updateOptions the options to apply to the update operation
443-
* @return the result of the update one operation
443+
* @return the result of the update many operation
444444
* @throws com.mongodb.MongoWriteException if the write failed due some other failure specific to the update command
445445
* @throws com.mongodb.MongoWriteConcernException if the write failed due being unable to fulfil the write concern
446446
* @throws com.mongodb.MongoException if the write failed due some other failure

0 commit comments

Comments
 (0)