logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396236 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/PatternLayout.java
Date Tue, 09 Oct 2012 19:47:24 GMT
Author: ggregory
Date: Tue Oct  9 19:47:24 2012
New Revision: 1396236

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

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/PatternLayout.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/PatternLayout.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/PatternLayout.java?rev=1396236&r1=1396235&r2=1396236&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/PatternLayout.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/PatternLayout.java
Tue Oct  9 19:47:24 2012
@@ -78,7 +78,7 @@ public final class PatternLayout extends
     /**
      * Conversion pattern.
      */
-    private String conversionPattern;
+    private final String conversionPattern;
 
     /**
      * True if any element in pattern formats information from exceptions.



Mime
View raw message