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:
@@ -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$
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user