Simple code cleanup; classloader for LogFactory class is computed once at startup.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@369705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -521,8 +521,7 @@ public abstract class LogFactory {
|
||||
// version of the LogFactoryImpl class and have it used dynamically
|
||||
// by an old LogFactory class in the parent, but that isn't
|
||||
// necessarily a good idea anyway.
|
||||
ClassLoader logFactoryClassLoader = getClassLoader(LogFactory.class);
|
||||
factory = newFactory(FACTORY_DEFAULT, logFactoryClassLoader, contextClassLoader);
|
||||
factory = newFactory(FACTORY_DEFAULT, thisClassLoader, contextClassLoader);
|
||||
}
|
||||
|
||||
if (factory != null) {
|
||||
|
||||
Reference in New Issue
Block a user