logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1566198 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
Date Sun, 09 Feb 2014 03:31:44 GMT
Author: ggregory
Date: Sun Feb  9 03:31:43 2014
New Revision: 1566198

URL: http://svn.apache.org/r1566198
Log:
PMD: Remove unnecessary parens.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java?rev=1566198&r1=1566197&r2=1566198&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
Sun Feb  9 03:31:43 2014
@@ -157,7 +157,7 @@ public final class AsyncAppender extends
                 error("Appender " + getName() + " is unable to write primary appenders. queue
is full");
             }
         }
-        if ((!appendSuccessful) && (errorAppender != null)) {
+        if (!appendSuccessful && errorAppender != null) {
             errorAppender.callAppender(event);
         }
     }



Mime
View raw message