File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
driver-core/src/main/com/mongodb/client/model Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public static Bson ascending(final List<String> fieldNames) {
67
67
}
68
68
69
69
/**
70
- * Create a sort specification for an ascending sort on the given fields.
70
+ * Create a sort specification for a descending sort on the given fields.
71
71
*
72
72
* @param fieldNames the field names, which must contain at least one
73
73
* @return the sort specification
@@ -78,7 +78,7 @@ public static Bson descending(final String... fieldNames) {
78
78
}
79
79
80
80
/**
81
- * Create a sort specification for an ascending sort on the given fields.
81
+ * Create a sort specification for a descending sort on the given fields.
82
82
*
83
83
* @param fieldNames the field names, which must contain at least one
84
84
* @return the sort specification
You can’t perform that action at this time.
0 commit comments