1
0

Simplify expressions.

This commit is contained in:
Gary Gregory
2021-07-10 09:53:06 -04:00
parent 3410150bea
commit d2a0dc8d31
2 changed files with 3 additions and 3 deletions

View File

@@ -458,7 +458,7 @@ public abstract class LogFactory {
final String useTCCLStr = props.getProperty(TCCL_KEY);
// The Boolean.valueOf(useTCCLStr).booleanValue() formulation
// is required for Java 1.2 compatibility.
if ((useTCCLStr != null) && (Boolean.parseBoolean(useTCCLStr) == false)) {
if ((useTCCLStr != null) && !Boolean.parseBoolean(useTCCLStr)) {
// Don't use current context classloader when locating any
// LogFactory or Log classes, just use the class that loaded
// this abstract class. When this class is deployed in a shared