mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 23:07:32 +00:00
remove even more logspam
This commit is contained in:
1 file changed
-4
-4
@@ -236,10 +236,8 @@ public class DependencyLoaderImpl {
|
||||
|
||||
private static boolean scanForDepSpecs(URL source, List<URL> output) {
|
||||
if (!source.getProtocol().equals("file")) {
|
||||
LOG.warn("Skipping non-file source: {}", source);
|
||||
return false;
|
||||
}
|
||||
LOG.debug("Scanning {} for dependencies", source);
|
||||
val fileName = source.getFile();
|
||||
boolean found = false;
|
||||
if (fileName.endsWith(".jar")) {
|
||||
@@ -300,10 +298,8 @@ public class DependencyLoaderImpl {
|
||||
} else {
|
||||
return Arrays.stream(files).map(file -> {
|
||||
try {
|
||||
LOG.trace("Adding {} to dependency source list", file);
|
||||
return file.toURI().toURL();
|
||||
} catch (MalformedURLException e) {
|
||||
LOG.error("Failed to add mod file {} to dependency source list: {}", file.getName(), e);
|
||||
return null;
|
||||
}
|
||||
}).filter(Objects::nonNull);
|
||||
|
||||
Reference in new issue
Block a user