Skip to content

Commit 6f3def1

Browse files
committed
Correct DBCollection.updateMulti method Javadoc
JAVA-1342
1 parent e1e9ac1 commit 6f3def1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/com/mongodb/DBCollection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ public WriteResult update( DBObject q , DBObject o ){
240240
}
241241

242242
/**
243-
* Modify an existing document or documents in collection. By default the method updates a single document. The query parameter employs
244-
* the same query selectors, as used in {@link DBCollection#find()}. Calls {@link DBCollection#update(com.mongodb.DBObject,
243+
* Modify documents in collection. The query parameter employs the same query selectors, as used in
244+
* {@link DBCollection#find()}. Calls {@link DBCollection#update(com.mongodb.DBObject,
245245
* com.mongodb.DBObject, boolean, boolean)} with upsert=false and multi=true
246246
*
247247
* @param q the selection criteria for the update

0 commit comments

Comments
 (0)