logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396122 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AbstractAppender.java
Date Tue, 09 Oct 2012 17:16:55 GMT
Author: ggregory
Date: Tue Oct  9 17:16:55 2012
New Revision: 1396122

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

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AbstractAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AbstractAppender.java?rev=1396122&r1=1396121&r2=1396122&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AbstractAppender.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AbstractAppender.java
Tue Oct  9 17:16:55 2012
@@ -41,7 +41,7 @@ public abstract class AbstractAppender e
      */
     private boolean started = false;
 
-    private Layout layout;
+    private final Layout layout;
 
     private final String name;
 



Mime
View raw message