File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/github/underscore Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1683,8 +1683,8 @@ public <F extends Comparable<? super F>> Chain<T> min(final Function1<T, F> func
16831683 return new Chain <T >($ .min (list , func ));
16841684 }
16851685
1686- public Chain <T > sort () {
1687- return new Chain <T >($ .sort ((List <Comparable >) list ));
1686+ public Chain <Comparable > sort () {
1687+ return new Chain <Comparable >($ .sort ((List <Comparable >) list ));
16881688 }
16891689
16901690 public <F extends Comparable <? super F >> Chain <T > sortBy (final Function1 <T , F > func ) {
@@ -1812,7 +1812,7 @@ public static <T extends Comparable<T>> T[] sort(final T ... array) {
18121812 return localArray ;
18131813 }
18141814
1815- public List <T > sort () {
1815+ public List <Comparable > sort () {
18161816 return sort ((Iterable <Comparable >) iterable );
18171817 }
18181818
You can’t perform that action at this time.
0 commit comments