Collapse into if-else
This commit is contained in:
@@ -898,10 +898,8 @@ public abstract class LogFactory {
|
|||||||
factory = newFactory(factoryClass, baseClassLoader, contextClassLoader);
|
factory = newFactory(factoryClass, baseClassLoader, contextClassLoader);
|
||||||
|
|
||||||
// TODO: think about whether we need to handle exceptions from newFactory
|
// TODO: think about whether we need to handle exceptions from newFactory
|
||||||
} else {
|
} else if (isDiagnosticsEnabled()) {
|
||||||
if (isDiagnosticsEnabled()) {
|
logDiagnostic("[LOOKUP] Properties file has no entry specifying LogFactory subclass.");
|
||||||
logDiagnostic("[LOOKUP] Properties file has no entry specifying LogFactory subclass.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else if (isDiagnosticsEnabled()) {
|
} else if (isDiagnosticsEnabled()) {
|
||||||
logDiagnostic("[LOOKUP] No properties file available to determine" + " LogFactory subclass from..");
|
logDiagnostic("[LOOKUP] No properties file available to determine" + " LogFactory subclass from..");
|
||||||
|
|||||||
Reference in New Issue
Block a user