- Revert the last couple commits, looks like there is no unwanted console spamming if everything is set up properly.

This commit is contained in:
Agetian
2015-01-14 04:59:23 +00:00
parent e40f374eff
commit 56dd767343
2 changed files with 2 additions and 8 deletions

View File

@@ -95,10 +95,6 @@ public class ImageKeys {
}
public static File getImageFile(String key) {
return getImageFile(key, false);
}
public static File getImageFile(String key, boolean quiet) {
if (StringUtils.isEmpty(key)) {
return null;
}
@@ -161,9 +157,7 @@ public class ImageKeys {
}
}
if (!quiet) {
System.out.println("File not found, no image created: " + key);
}
System.out.println("File not found, no image created: " + key);
return null;
}

View File

@@ -85,7 +85,7 @@ public final class FImageUtil {
imageKey += "full.jpg";
}
File file = ImageKeys.getImageFile(imageKey, true);
File file = ImageKeys.getImageFile(imageKey);
BufferedImage img = null;
if (file != null) {