commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r384415 - /jakarta/commons/proper/logging/contrib/simon/jcl2/core/java/org/apache/commons/logging/LogFactory.java
Date Thu, 09 Mar 2006 03:34:49 GMT
Author: skitching
Date: Wed Mar  8 19:34:49 2006
New Revision: 384415

URL: http://svn.apache.org/viewcvs?rev=384415&view=rev
Log:
Make member package-scope for unit testing purposes.

Modified:
    jakarta/commons/proper/logging/contrib/simon/jcl2/core/java/org/apache/commons/logging/LogFactory.java

Modified: jakarta/commons/proper/logging/contrib/simon/jcl2/core/java/org/apache/commons/logging/LogFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/contrib/simon/jcl2/core/java/org/apache/commons/logging/LogFactory.java?rev=384415&r1=384414&r2=384415&view=diff
==============================================================================
--- jakarta/commons/proper/logging/contrib/simon/jcl2/core/java/org/apache/commons/logging/LogFactory.java
(original)
+++ jakarta/commons/proper/logging/contrib/simon/jcl2/core/java/org/apache/commons/logging/LogFactory.java
Wed Mar  8 19:34:49 2006
@@ -34,7 +34,11 @@
 
 public abstract class LogFactory {
 
-    private static final LogFactory instance = discoverLogFactory();
+    /**
+     * This member is package-scope for the purposes of unit testing.
+     * It should not be accessed under any other circumstances.
+     */
+    static final LogFactory instance = discoverLogFactory();
 
     /**
      * Each jarfile that contains this class is also expected to contain:



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