logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1527681 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java
Date Mon, 30 Sep 2013 17:41:28 GMT
Author: ggregory
Date: Mon Sep 30 17:41:27 2013
New Revision: 1527681

URL: http://svn.apache.org/r1527681
Log:
Sort members.

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

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java?rev=1527681&r1=1527680&r2=1527681&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/pattern/StyleConverter.java
Mon Sep 30 17:41:27 2013
@@ -30,21 +30,6 @@ import org.apache.logging.log4j.core.lay
 @ConverterKeys({"style" })
 public final class StyleConverter extends LogEventPatternConverter {
 
-    private final List<PatternFormatter> patternFormatters;
-
-    private final String style;
-
-    /**
-     * Constructs the converter.
-     * @param patternFormatters The PatternFormatters to generate the text to manipulate.
-     * @param style The style that should encapsulate the pattern.
-     */
-    private StyleConverter(final List<PatternFormatter> patternFormatters, final String
style) {
-        super("style", "style");
-        this.patternFormatters = patternFormatters;
-        this.style = style;
-    }
-
     /**
      * Gets an instance of the class.
      *
@@ -73,6 +58,21 @@ public final class StyleConverter extend
         return new StyleConverter(formatters, style);
     }
 
+    private final List<PatternFormatter> patternFormatters;
+
+    private final String style;
+
+    /**
+     * Constructs the converter.
+     * @param patternFormatters The PatternFormatters to generate the text to manipulate.
+     * @param style The style that should encapsulate the pattern.
+     */
+    private StyleConverter(final List<PatternFormatter> patternFormatters, final String
style) {
+        super("style", "style");
+        this.patternFormatters = patternFormatters;
+        this.style = style;
+    }
+
 
     /**
      * {@inheritDoc}



Mime
View raw message