logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1592422 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java
Date Sun, 04 May 2014 21:43:59 GMT
Author: mattsicker
Date: Sun May  4 21:43:59 2014
New Revision: 1592422

URL: http://svn.apache.org/r1592422
Log:
Remove inaccurate comment.

  - Phasers do not work that way.

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

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java?rev=1592422&r1=1592421&r2=1592422&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/LoggerConfig.java
Sun May  4 21:43:59 2014
@@ -377,7 +377,6 @@ public class LoggerConfig extends Abstra
     private void waitForCompletion() {
         if (shutdown.compareAndSet(false, true)) {
             int retries = 0;
-            // if this were Java 1.7, we could use a java.util.concurrent.Phaser instead
             while (counter.get() > 0) {
                 shutdownLock.lock();
                 try {



Mime
View raw message