logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1514772 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
Date Fri, 16 Aug 2013 16:23:43 GMT
Author: ggregory
Date: Fri Aug 16 16:23:43 2013
New Revision: 1514772

URL: http://svn.apache.org/r1514772
Log:
Better API name and make it private.

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java?rev=1514772&r1=1514771&r2=1514772&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
Fri Aug 16 16:23:43 2013
@@ -203,7 +203,7 @@ public class XMLLayout extends AbstractS
 
         final Throwable throwable = event.getThrown();
         if (throwable != null) {
-            final List<String> s = getThrowableString(throwable);
+            final List<String> s = getThrowableStringList(throwable);
             buf.append(this.indent2);
             buf.append('<');
             if (!complete) {
@@ -346,7 +346,7 @@ public class XMLLayout extends AbstractS
         return "text/xml; charset=" + this.getCharset();
     }
 
-    List<String> getThrowableString(final Throwable throwable) {
+    private List<String> getThrowableStringList(final Throwable throwable) {
         final StringWriter sw = new StringWriter();
         final PrintWriter pw = new PrintWriter(sw);
         try {



Mime
View raw message