Skip to content
Permalink
Browse files
8263514: Minor issue in JavacFileManager.SortFiles.REVERSE
Reviewed-by: vromero
  • Loading branch information
shipilev committed Mar 15, 2021
1 parent 771b146 commit 5ab5244814bd1933bc07840c65f53753a51bcd3a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -123,7 +123,7 @@ public int compare(Path f1, Path f2) {
REVERSE {
@Override
public int compare(Path f1, Path f2) {
return -f1.getFileName().compareTo(f2.getFileName());
return f2.getFileName().compareTo(f1.getFileName());
}
}
}

0 comments on commit 5ab5244

Please sign in to comment.