logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1431698 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/RFC5424Layout.java
Date Thu, 10 Jan 2013 22:17:08 GMT
Author: ggregory
Date: Thu Jan 10 22:17:08 2013
New Revision: 1431698

URL: http://svn.apache.org/viewvc?rev=1431698&view=rev
Log:
Format.

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=1431698&r1=1431697&r2=1431698&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
Thu Jan 10 22:17:08 2013
@@ -479,7 +479,7 @@ public final class RFC5424Layout extends
                 LOGGER.error("Charset " + charsetName + " is not supported for layout, using
" + charset.displayName());
             }
         }
-        if(charset == null) {
+        if (charset == null) {
             charset = Charset.isSupported("UTF-8") ? Charset.forName("UTF-8") : Charset.defaultCharset();
         }
 



Mime
View raw message