logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1521172 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java
Date Mon, 09 Sep 2013 16:06:59 GMT
Author: ggregory
Date: Mon Sep  9 16:06:59 2013
New Revision: 1521172

URL: http://svn.apache.org/r1521172
Log:
Better ivar name.

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

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java?rev=1521172&r1=1521171&r2=1521172&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/HighlightConverter.java
Mon Sep  9 16:06:59 2013
@@ -180,19 +180,19 @@ public final class HighlightConverter ex
         return new HighlightConverter(formatters, createLevelStyleMap(options));
     }
 
-    private final List<PatternFormatter> formatters;
+    private final List<PatternFormatter> patternFormatters;
 
     private final EnumMap<Level, String> levelStyles;
 
     /**
      * Construct the converter.
      *
-     * @param formatters
+     * @param patternFormatters
      *            The PatternFormatters to generate the text to manipulate.
      */
-    private HighlightConverter(final List<PatternFormatter> formatters, final EnumMap<Level,
String> levelStyles) {
+    private HighlightConverter(final List<PatternFormatter> patternFormatters, final
EnumMap<Level, String> levelStyles) {
         super("style", "style");
-        this.formatters = formatters;
+        this.patternFormatters = patternFormatters;
         this.levelStyles = levelStyles;
     }
 
@@ -202,7 +202,7 @@ public final class HighlightConverter ex
     @Override
     public void format(final LogEvent event, final StringBuilder toAppendTo) {
         final StringBuilder buf = new StringBuilder();
-        for (final PatternFormatter formatter : formatters) {
+        for (final PatternFormatter formatter : patternFormatters) {
             formatter.format(event, buf);
         }
 



Mime
View raw message