logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1584477 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
Date Fri, 04 Apr 2014 00:04:44 GMT
Author: mattsicker
Date: Fri Apr  4 00:04:43 2014
New Revision: 1584477

URL: http://svn.apache.org/r1584477
Log:
Revert fixme comment.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java?rev=1584477&r1=1584476&r2=1584477&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
Fri Apr  4 00:04:43 2014
@@ -112,8 +112,6 @@ public abstract class ConfigurationFacto
      * @return the ConfigurationFactory.
      */
     public static ConfigurationFactory getInstance() {
-        // FIXME: double-checked locking is unsafe
-        // http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
         if (factories == null) {
             synchronized(TEST_PREFIX) {
                 if (factories == null) {



Mime
View raw message