logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1432561 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsynchAppender.java
Date Sun, 13 Jan 2013 05:38:47 GMT
Author: ggregory
Date: Sun Jan 13 05:38:46 2013
New Revision: 1432561

URL: http://svn.apache.org/viewvc?rev=1432561&view=rev
Log:
No need to initialize to null.

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsynchAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsynchAppender.java?rev=1432561&r1=1432560&r2=1432561&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsynchAppender.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsynchAppender.java
Sun Jan 13 05:38:46 2013
@@ -53,8 +53,8 @@ public final class AsynchAppender extend
     private final Configuration config;
     private final AppenderRef[] appenderRefs;
     private final String errorRef;
-    private AppenderControl errorAppender = null;
-    private AsynchThread thread = null;
+    private AppenderControl errorAppender;
+    private AsynchThread thread;
 
     private AsynchAppender(final String name, final Filter filter, final AppenderRef[] appenderRefs,
final String errorRef,
                            final int queueSize, final boolean blocking,



Mime
View raw message