logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1514867 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
Date Fri, 16 Aug 2013 19:40:56 GMT
Author: ggregory
Date: Fri Aug 16 19:40:56 2013
New Revision: 1514867

URL: http://svn.apache.org/r1514867
Log:
No need for createPatternParser to be public, make it private.

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java?rev=1514867&r1=1514866&r2=1514867&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
Fri Aug 16 19:40:56 2013
@@ -198,7 +198,7 @@ public final class RFC5424Layout extends
      * @param filterClass Filter the returned plugins after calling the plugin manager.
      * @return The PatternParser.
      */
-    public static PatternParser createPatternParser(final Configuration config,
+    private static PatternParser createPatternParser(final Configuration config,
                                                     final Class<? extends PatternConverter>
filterClass) {
         if (config == null) {
             return new PatternParser(config, PatternLayout.KEY, LogEventPatternConverter.class,



Mime
View raw message