logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1516683 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java
Date Fri, 23 Aug 2013 03:00:00 GMT
Author: ggregory
Date: Fri Aug 23 03:00:00 2013
New Revision: 1516683

URL: http://svn.apache.org/r1516683
Log:
Better var names.

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java?rev=1516683&r1=1516682&r2=1516683&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java
Fri Aug 23 03:00:00 2013
@@ -30,19 +30,19 @@ import org.apache.logging.log4j.core.lay
 @ConverterKeys({"style" })
 public final class StyleConverter extends LogEventPatternConverter {
 
-    private final List<PatternFormatter> formatters;
+    private final List<PatternFormatter> patternFormatters;
 
     private final String style;
 
     /**
      * Constructs the converter.
-     * @param formatters The PatternFormatters to generate the text to manipulate.
-     * @param styling The styling that should encapsulate the pattern.
+     * @param patternFormatters The PatternFormatters to generate the text to manipulate.
+     * @param style The style that should encapsulate the pattern.
      */
-    private StyleConverter(final List<PatternFormatter> formatters, final String styling)
{
+    private StyleConverter(final List<PatternFormatter> patternFormatters, final String
style) {
         super("style", "style");
-        this.formatters = formatters;
-        this.style = styling;
+        this.patternFormatters = patternFormatters;
+        this.style = style;
     }
 
     /**
@@ -80,7 +80,7 @@ public final class StyleConverter extend
     @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