1
0

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:
Simon Kitching
2006-01-17 07:22:21 +00:00
parent 0137795092
commit e934c30030

View File

@@ -521,8 +521,7 @@ public abstract class LogFactory {
// version of the LogFactoryImpl class and have it used dynamically // version of the LogFactoryImpl class and have it used dynamically
// by an old LogFactory class in the parent, but that isn't // by an old LogFactory class in the parent, but that isn't
// necessarily a good idea anyway. // necessarily a good idea anyway.
ClassLoader logFactoryClassLoader = getClassLoader(LogFactory.class); factory = newFactory(FACTORY_DEFAULT, thisClassLoader, contextClassLoader);
factory = newFactory(FACTORY_DEFAULT, logFactoryClassLoader, contextClassLoader);
} }
if (factory != null) { if (factory != null) {