logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1490688 - in /logging/log4j/log4j2/trunk: core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java src/changes/changes.xml
Date Fri, 07 Jun 2013 15:35:53 GMT
Author: ggregory
Date: Fri Jun  7 15:35:53 2013
New Revision: 1490688

URL: http://svn.apache.org/r1490688
Log:
[LOG4J2-273] Wasted work in XMLLayout.toSerializable().

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

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=1490688&r1=1490687&r2=1490688&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 Jun  7 15:35:53 2013
@@ -125,6 +125,7 @@ public class XMLLayout extends AbstractS
                 for (final String format : formats) {
                     if (format.equalsIgnoreCase("XML")) {
                         xmlSupported = true;
+                        break;
                     }
                 }
             }

Modified: logging/log4j/log4j2/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/changes/changes.xml?rev=1490688&r1=1490687&r2=1490688&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/changes/changes.xml (original)
+++ logging/log4j/log4j2/trunk/src/changes/changes.xml Fri Jun  7 15:35:53 2013
@@ -26,6 +26,9 @@
       <action issue="LOG4J2-274" dev="ggregory" type="update">
         Wasted work in UUIDUtil initialization.
       </action>
+      <action issue="LOG4J2-273" dev="ggregory" type="update">
+        Wasted work in XMLLayout.toSerializable().
+      </action>
     </release>
   <body>
     <release version="2.0-beta7" date="2013-06-01" description="Bug fixes and enhancements">



Mime
View raw message