File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/java.base/share/classes/java/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ public static <T extends Comparable<? super T>> Comparator<T> naturalOrder() {
389389 * {@code Comparator}.
390390 * @since 1.8
391391 */
392- public static <T > Comparator <@ Nullable T > nullsFirst (@ Nullable Comparator <@ Nullable ? super T > comparator ) {
392+ public static <T > Comparator <@ Nullable T > nullsFirst (@ Nullable Comparator <? super T > comparator ) {
393393 return new Comparators .NullComparator <>(true , comparator );
394394 }
395395
@@ -410,7 +410,7 @@ public static <T extends Comparable<? super T>> Comparator<T> naturalOrder() {
410410 * {@code Comparator}.
411411 * @since 1.8
412412 */
413- public static <T > Comparator <@ Nullable T > nullsLast (@ Nullable Comparator <@ Nullable ? super T > comparator ) {
413+ public static <T > Comparator <@ Nullable T > nullsLast (@ Nullable Comparator <? super T > comparator ) {
414414 return new Comparators .NullComparator <>(false , comparator );
415415 }
416416
You can’t perform that action at this time.
0 commit comments