Skip to content

Commit

Permalink
Merge pull request #4 from HonestMasker/feature/3.0.0
Browse files Browse the repository at this point in the history
Feature/3.0.0
  • Loading branch information
llnancy authored Oct 15, 2024
2 parents 8d508ad + 69d26e2 commit 03008e4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import java.io.File;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

/**
* 资源服务端
Expand Down Expand Up @@ -52,7 +53,7 @@ public static void loadResource() {
List<String> collect = lines.stream()
.filter(line -> StringUtils.isNotBlank(StringUtils.trim(line)))
.distinct()
.toList();
.collect(Collectors.toList());
RESOURCES_MAP.put(FileUtil.mainName(file), collect);
});
}
Expand Down

0 comments on commit 03008e4

Please sign in to comment.