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 a25b942 commit cb79d57Copy full SHA for cb79d57
src/main/java/util/FileUtils.java
@@ -36,7 +36,7 @@ public static File fileOf(File f, boolean canonical) throws Exception {
36
}
37
38
public static Set<File> fromStrings(Collection<String> s) {
39
- return s.stream().map(File::new).collect(Collectors.toSet());
+ return s.stream().map(File::new).collect(Collectors.toCollection(TreeSet::new));
40
41
42
public static String toMultiPath(Collection<File> paths) {
0 commit comments