* minor - missing image file shouldn't be log as error or warning.

This commit is contained in:
Heng Sin Low 2008-02-01 04:21:26 +00:00
parent 262dcd66a1
commit 9932a8538e
1 changed files with 2 additions and 2 deletions

View File

@ -1352,7 +1352,7 @@ public final class Env
URL url = Adempiere.class.getResource("images/" + fileNameInImageDir);
if (url == null)
{
s_log.log(Level.SEVERE, "Not found: " + fileNameInImageDir);
s_log.log(Level.INFO, "Not found: " + fileNameInImageDir);
return null;
}
return new ImageIcon(url);
@ -1374,7 +1374,7 @@ public final class Env
url = Adempiere.class.getResource("images/" + fileName+".png");
if (url == null)
{
s_log.log(Level.WARNING, "GIF/PNG Not found: " + fileName);
s_log.log(Level.INFO, "GIF/PNG Not found: " + fileName);
return null;
}
return new ImageIcon(url);