1
0

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
2012-07-18 16:08:15 +00:00
parent e2adf3571a
commit 850fbd475b
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
TODO - rework notes to incorporate: Changes since 1.1.1 TODO - rework notes to incorporate: Changes since 1.1.1
LOGGING-130 - Potential missing privileged block for class loader LOGGING-130 - Potential missing privileged block for class loader
LOGGING-145 - LogFactoryImpl.setAttribute - possible NPE
$Id$ $Id$

View File

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