LOGGING-145 - LogFactoryImpl.setAttribute - possible NPE

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362996 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley committed 2012-07-18 16:08:15 +00:00
1 parent e2adf3571a
commit 850fbd475b
2 files changed
+2 -1

No files matched your search

@@ -406,7 +406,7 @@ public class LogFactoryImpl extends LogFactory {
}
if (name.equals(TCCL_KEY)) {
useTCCL = Boolean.valueOf(value.toString()).booleanValue();
useTCCL = value != null && Boolean.valueOf(value.toString()).booleanValue();
}
}