1
0

Use final and remove redundant parentheses

This commit is contained in:
Gary Gregory
2024-08-15 07:33:06 -04:00
parent 1f302e5b45
commit 11760024c5

View File

@@ -813,7 +813,7 @@ public abstract class LogFactory {
logHierarchy("[BAD CL TREE] ", contextClassLoader);
useTccl = false;
}
} catch (ClassNotFoundException ignored) {
} catch (final ClassNotFoundException ignored) {
logDiagnostic("The class " + LogFactory.class.getName() + " is not present in the the context class loader " + objectId(contextClassLoader)
+ ". Disabling the usage of the context class loader."
+ "Background can be found in https://commons.apache.org/logging/tech.html. ");
@@ -938,7 +938,7 @@ public abstract class LogFactory {
if (factory == null) {
factory = newStandardFactory(baseClassLoader);
}
if ((factory == null) && (baseClassLoader != thisClassLoaderRef.get())) {
if (factory == null && baseClassLoader != thisClassLoaderRef.get()) {
factory = newStandardFactory(thisClassLoaderRef.get());
}
if (factory != null) {