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