logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396171 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/RewriteAppender.java
Date Tue, 09 Oct 2012 18:34:21 GMT
Author: ggregory
Date: Tue Oct  9 18:34:21 2012
New Revision: 1396171

URL: http://svn.apache.org/viewvc?rev=1396171&view=rev
Log:
Make ivar final.

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/RewriteAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/RewriteAppender.java?rev=1396171&r1=1396170&r2=1396171&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/RewriteAppender.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/RewriteAppender.java
Tue Oct  9 18:34:21 2012
@@ -39,7 +39,7 @@ import java.util.concurrent.ConcurrentMa
 @Plugin(name = "Rewrite", type = "Core", elementType = "appender", printObject = true)
 public final class RewriteAppender extends AbstractAppender {
     private final Configuration config;
-    private ConcurrentMap<String, AppenderControl> appenders = new ConcurrentHashMap<String,
AppenderControl>();
+    private final ConcurrentMap<String, AppenderControl> appenders = new ConcurrentHashMap<String,
AppenderControl>();
     private final RewritePolicy rewritePolicy;
     private final AppenderRef[] appenderRefs;
 



Mime
View raw message