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 63ddb75 commit 6f60ee6Copy full SHA for 6f60ee6
opengrok-web/src/main/java/org/opengrok/web/PageConfig.java
@@ -526,7 +526,7 @@ private static Comparator<File> getFileComparator() {
526
527
@VisibleForTesting
528
public static List<String> getSortedFiles(File[] files) {
529
- return Arrays.stream(files).sorted(getFileComparator()).map(File::getName).collect(Collectors.toList());
+ return Arrays.stream(files).sorted(getFileComparator()).map(File::getName).toList();
530
}
531
532
/**
0 commit comments