From cbe348db9a013bfbb13a4305ad2e2d8f66164736 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 26 Oct 2007 20:17:30 +0000 Subject: [PATCH] Fixed warning messages. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@313 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/java/com/threerings/jme/util/ImageCache.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/java/com/threerings/jme/util/ImageCache.java b/src/java/com/threerings/jme/util/ImageCache.java index b4ebe17a..f3693fff 100644 --- a/src/java/com/threerings/jme/util/ImageCache.java +++ b/src/java/com/threerings/jme/util/ImageCache.java @@ -231,7 +231,7 @@ public class ImageCache bufimg = _rsrcmgr.getImageResource(rsrcPath); } catch (Throwable t) { log.log(Level.WARNING, "Unable to load image resource " + - "[path=" + ifile + "].", t); + "[path=" + rsrcPath + "].", t); // cope; return an error image of abitrary size bufimg = ImageUtil.createErrorImage(64, 64); } @@ -280,7 +280,7 @@ public class ImageCache if (returnNull) { return null; } - log.log(Level.WARNING, "Unable to load image resource [path=" + ifile + "].", t); + log.log(Level.WARNING, "Unable to load image resource [path=" + rsrcPath + "].", t); // cope; return an error image of abitrary size bufimg = ImageUtil.createErrorImage(64, 64); } @@ -324,7 +324,7 @@ public class ImageCache if (returnNull) { return null; } - log.log(Level.WARNING, "Unable to load image resource [path=" + ifile + "].", t); + log.log(Level.WARNING, "Unable to load image resource [path=" + rsrcPath + "].", t); // cope; return an error image of abitrary size silimg = ImageUtil.createErrorImage(64, 64); } @@ -362,7 +362,7 @@ public class ImageCache try { image = _rsrcmgr.getImageResource(rsrcPath); } catch (Throwable t) { - log.log(Level.WARNING, "Unable to load image resource [path=" + ifile + "].", t); + log.log(Level.WARNING, "Unable to load image resource [path=" + rsrcPath + "].", t); // cope; return an error image of abitrary size image = ImageUtil.createErrorImage(64, 64); }