We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff0afcf commit 8d1499eCopy full SHA for 8d1499e
spring-core/src/main/java/org/springframework/util/comparator/Comparators.java
@@ -52,7 +52,7 @@ public static <T> Comparator<T> nullsLow() {
52
* @see NullSafeComparator#NullSafeComparator(boolean)
53
*/
54
public static <T> Comparator<T> nullsLow(Comparator<T> comparator) {
55
- return new NullSafeComparator<>(comparator, false);
+ return new NullSafeComparator<>(comparator, true);
56
}
57
58
/**
0 commit comments