Skip to content

Commit

Permalink
feat: optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
itning committed Feb 12, 2024
1 parent 9e04f1d commit 9afb257
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public List<FileEntity> getFileEntities(String location) {
fileEntities = Collections.emptyList();
}
return fileEntities
.parallelStream()
.stream()
.sorted((o1, o2) -> {
if (o1.isFile() && !o2.isFile()) {
return 1;
Expand Down

0 comments on commit 9afb257

Please sign in to comment.