logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1503551 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java
Date Tue, 16 Jul 2013 03:42:50 GMT
Author: ggregory
Date: Tue Jul 16 03:42:50 2013
New Revision: 1503551

URL: http://svn.apache.org/r1503551
Log:
Better param name ('c' -> 'charset')

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java?rev=1503551&r1=1503550&r2=1503551&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java
Tue Jul 16 03:42:50 2013
@@ -61,8 +61,8 @@ public class SyslogLayout extends Abstra
 
 
 
-    protected SyslogLayout(final Facility facility, final boolean includeNL, final String
escapeNL, final Charset c) {
-        super(c);
+    protected SyslogLayout(final Facility facility, final boolean includeNL, final String
escapeNL, final Charset charset) {
+        super(charset);
         this.facility = facility;
         this.includeNewLine = includeNL;
         this.escapeNewLine = escapeNL == null ? null : Matcher.quoteReplacement(escapeNL);



Mime
View raw message