logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1506626 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
Date Wed, 24 Jul 2013 16:59:22 GMT
Author: ggregory
Date: Wed Jul 24 16:59:22 2013
New Revision: 1506626

URL: http://svn.apache.org/r1506626
Log:
Fix typo nanespacePrefix -> namespacePrefix.

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=1506626&r1=1506625&r2=1506626&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
Wed Jul 24 16:59:22 2013
@@ -389,13 +389,13 @@ public class XMLLayout extends AbstractS
                                          @PluginAttr("properties") final String properties,
                                          @PluginAttr("complete") final String completeStr,
                                          @PluginAttr("compact") final String compactStr,
-                                         @PluginAttr("namespacePrefix") final String nanespacePrefix,
+                                         @PluginAttr("namespacePrefix") final String namespacePrefix,
                                          @PluginAttr("charset") final String charsetName)
{
         final Charset charset = Charsets.getSupportedCharset(charsetName, Charsets.UTF_8);
         final boolean info = Boolean.parseBoolean(locationInfo);
         final boolean props = Boolean.parseBoolean(properties);
         final boolean complete = Boolean.parseBoolean(completeStr);
         final boolean compact = Boolean.parseBoolean(compactStr);
-        return new XMLLayout(info, props, complete, compact, nanespacePrefix, charset);
+        return new XMLLayout(info, props, complete, compact, namespacePrefix, charset);
     }
 }



Mime
View raw message