Skip to content

Commit 5096761

Browse files
fhassakjyemin
authored andcommitted
fix parameter name
1 parent 05d983e commit 5096761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-core/src/main/com/mongodb/client/model/Projections.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public static Bson fields(final Bson... projections) {
187187
* @return the combined projection
188188
*/
189189
public static Bson fields(final List<? extends Bson> projections) {
190-
notNull("sorts", projections);
190+
notNull("projections", projections);
191191
return new FieldsProjection(projections);
192192
}
193193

0 commit comments

Comments
 (0)