reduced warning message
This commit is contained in:
Scott Battaglia 2009-01-05 04:27:10 +00:00
parent d00986afc7
commit d0be75e7b3
1 changed files with 2 additions and 2 deletions

View File

@ -72,11 +72,11 @@ public abstract class AbstractConfigurationFilter implements Filter {
return ((value != null) && value.equalsIgnoreCase("true"));
}
protected final String loadFromContext(final InitialContext context, String path) {
protected final String loadFromContext(final InitialContext context, final String path) {
try {
return (String) context.lookup(path);
} catch (final NamingException e) {
log.warn(e,e);
log.warn("No value found in context for: '" + path + "'; Returning null.");
return null;
}
}