Removed no-longer needed debug
This commit is contained in:
parent
17fad2acfd
commit
0f7ffe1866
@ -407,10 +407,6 @@ class ImageUtils {
|
|||||||
return check;
|
return check;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SystemTray.DEBUG) {
|
|
||||||
SystemTray.logger.debug("FAILED getting cached URL.");
|
|
||||||
}
|
|
||||||
|
|
||||||
// no cached file, so we resize then save the new one.
|
// no cached file, so we resize then save the new one.
|
||||||
boolean needsResize = true;
|
boolean needsResize = true;
|
||||||
try {
|
try {
|
||||||
@ -536,10 +532,6 @@ class ImageUtils {
|
|||||||
@SuppressWarnings("ResultOfMethodCallIgnored")
|
@SuppressWarnings("ResultOfMethodCallIgnored")
|
||||||
private static
|
private static
|
||||||
File resizeFileNoCheck(final int size, final URL imageUrl) throws IOException {
|
File resizeFileNoCheck(final int size, final URL imageUrl) throws IOException {
|
||||||
if (SystemTray.DEBUG) {
|
|
||||||
SystemTray.logger.debug("Resizing URL to {}. '{}'", size, imageUrl.getPath());
|
|
||||||
}
|
|
||||||
|
|
||||||
String extension = FileUtil.getExtension(imageUrl.getPath());
|
String extension = FileUtil.getExtension(imageUrl.getPath());
|
||||||
if (extension.equals("")) {
|
if (extension.equals("")) {
|
||||||
extension = "png"; // made up
|
extension = "png"; // made up
|
||||||
|
Loading…
Reference in New Issue
Block a user