logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396263 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternFormatter.java
Date Tue, 09 Oct 2012 20:01:08 GMT
Author: ggregory
Date: Tue Oct  9 20:01:08 2012
New Revision: 1396263

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

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternFormatter.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternFormatter.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternFormatter.java?rev=1396263&r1=1396262&r2=1396263&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternFormatter.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/PatternFormatter.java
Tue Oct  9 20:01:08 2012
@@ -23,8 +23,8 @@ import org.apache.logging.log4j.core.Log
  *
  */
 public class PatternFormatter {
-    private LogEventPatternConverter converter;
-    private FormattingInfo field;
+    private final LogEventPatternConverter converter;
+    private final FormattingInfo field;
 
     public PatternFormatter(LogEventPatternConverter converter, FormattingInfo field) {
         this.converter = converter;



Mime
View raw message