commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r369705 - /jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
Date Tue, 17 Jan 2006 07:22:28 GMT
Author: skitching
Date: Mon Jan 16 23:22:21 2006
New Revision: 369705

URL: http://svn.apache.org/viewcvs?rev=369705&view=rev
Log:
Simple code cleanup; classloader for LogFactory class is computed once at startup.

Modified:
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java

Modified: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java?rev=369705&r1=369704&r2=369705&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
(original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
Mon Jan 16 23:22:21 2006
@@ -521,8 +521,7 @@
             // 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) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message