commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1435122 - /commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/LogFactory.java
Date Fri, 18 Jan 2013 12:55:14 GMT
Author: tn
Date: Fri Jan 18 12:55:13 2013
New Revision: 1435122

URL: http://svn.apache.org/viewvc?rev=1435122&view=rev
Log:
[LOGGING-146] Make nullClassloaderFactory volatile, mark as deprecated.

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

Modified: commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/LogFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/LogFactory.java?rev=1435122&r1=1435121&r2=1435122&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/LogFactory.java
(original)
+++ commons/proper/logging/trunk/src/main/java/org/apache/commons/logging/LogFactory.java
Fri Jan 18 12:55:13 2013
@@ -296,8 +296,9 @@ public abstract class LogFactory {
      * </ul>
      * Note that <code>factories</code> is a <i>Hashtable</i> (not
a HashMap),
      * and hashtables don't allow null as a key.
+     * @deprecated since 1.1.2
      */
-    protected static LogFactory nullClassLoaderFactory = null;
+    protected static volatile LogFactory nullClassLoaderFactory = null;
 
     /**
      * Create the hashtable which will be used to store a map of



Mime
View raw message