add if for log.debug

This commit is contained in:
sand
2012-08-10 09:40:24 +08:00
parent d56068c661
commit c6ae1783c1
@@ -19,7 +19,7 @@ public class ReflectionUtils {
try {
result = HttpServletRequest.class.getClassLoader().loadClass(className);
} catch (ClassNotFoundException e) {
LOG.debug("can'r find class in web container classLoader ", e);
if (LOG.isDebugEnabled()) LOG.debug("can'r find class in web container classLoader ", e);
}
if (result == null) {
try {