Disable resource finder log

This commit is contained in:
embeddedt 2023-03-26 18:20:47 -04:00
parent f8d17ba3ab
commit b3449a2d63
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -37,7 +37,7 @@ public class ModernFixResourceFinder {
} }
public static synchronized void init() throws ReflectiveOperationException { public static synchronized void init() throws ReflectiveOperationException {
urlsForClass = new HashMap<>(); urlsForClass = new HashMap<>();
LOGGER.info("Start building list of class locations..."); //LOGGER.info("Start building list of class locations...");
for(ModFileInfo fileInfo : LoadingModList.get().getModFiles()) { for(ModFileInfo fileInfo : LoadingModList.get().getModFiles()) {
ModFile file = fileInfo.getFile(); ModFile file = fileInfo.getFile();
IModLocator locator = file.getLocator(); IModLocator locator = file.getLocator();
@ -77,7 +77,7 @@ public class ModernFixResourceFinder {
if(list instanceof ArrayList) if(list instanceof ArrayList)
((ArrayList<URL>)list).trimToSize(); ((ArrayList<URL>)list).trimToSize();
} }
LOGGER.info("Finish building"); //LOGGER.info("Finish building");
} }
private static Iterable<Path> getRootPathForLocator(IModLocator locator, ModFile file) throws ReflectiveOperationException { private static Iterable<Path> getRootPathForLocator(IModLocator locator, ModFile file) throws ReflectiveOperationException {