From 0f7ffe1866054dbc22f77af7bf301f40178f15ba Mon Sep 17 00:00:00 2001 From: nathan Date: Sat, 15 Oct 2016 14:13:21 +0200 Subject: [PATCH] Removed no-longer needed debug --- src/dorkbox/systemTray/util/ImageUtils.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/dorkbox/systemTray/util/ImageUtils.java b/src/dorkbox/systemTray/util/ImageUtils.java index fdb3341..946f6ab 100644 --- a/src/dorkbox/systemTray/util/ImageUtils.java +++ b/src/dorkbox/systemTray/util/ImageUtils.java @@ -407,10 +407,6 @@ class ImageUtils { return check; } - if (SystemTray.DEBUG) { - SystemTray.logger.debug("FAILED getting cached URL."); - } - // no cached file, so we resize then save the new one. boolean needsResize = true; try { @@ -536,10 +532,6 @@ class ImageUtils { @SuppressWarnings("ResultOfMethodCallIgnored") private static 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()); if (extension.equals("")) { extension = "png"; // made up