commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r178065 - in /jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging: ContextFactory.java LogFactory.java.template
Date Tue, 24 May 2005 02:48:31 GMT
Author: skitching
Date: Mon May 23 19:48:31 2005
New Revision: 178065

URL: http://svn.apache.org/viewcvs?rev=178065&view=rev
Log:
rename LogFactory method getInstance to getFactory

Modified:
    jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/ContextFactory.java
    jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/LogFactory.java.template

Modified: jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/ContextFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/ContextFactory.java?rev=178065&r1=178064&r2=178065&view=diff
==============================================================================
--- jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/ContextFactory.java
(original)
+++ jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/ContextFactory.java
Mon May 23 19:48:31 2005
@@ -112,8 +112,7 @@
         try {
             Class c = cl.loadClass("org.apache.commons.logging.LogFactory");
             
-            // dynamically invoke the "getFactory" method on it
-            Method method = c.getMethod("getInstance", (Class[]) null);
+            Method method = c.getMethod("getFactory", (Class[]) null);
             Object o = method.invoke(null, (Object[]) null);
             
             if (!Factory.class.isAssignableFrom(o.getClass())) {

Modified: jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/LogFactory.java.template
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/LogFactory.java.template?rev=178065&r1=178064&r2=178065&view=diff
==============================================================================
--- jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/LogFactory.java.template
(original)
+++ jakarta/commons/proper/logging/branches/simon-1.1/src/java/org/apache/commons/logging/LogFactory.java.template
Mon May 23 19:48:31 2005
@@ -51,7 +51,7 @@
 
     // --------------------------------------------------------- Static Methods
 
-    public static Factory getInstance() {
+    public static Factory getFactory() {
         return factory;
     }
 



---------------------------------------------------------------------
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