logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1479628 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java
Date Mon, 06 May 2013 16:22:47 GMT
Author: ggregory
Date: Mon May  6 16:22:47 2013
New Revision: 1479628

URL: http://svn.apache.org/r1479628
Log:
Fix error message.

Modified:
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java?rev=1479628&r1=1479627&r2=1479628&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StructuredDataId.java
Mon May  6 16:22:47 2013
@@ -58,7 +58,7 @@ public class StructuredDataId implements
         if (name != null) {
             if (name.length() > MAX_LENGTH) {
                 throw new IllegalArgumentException(String.format("Length of id %s exceeds
maximum of %d characters",
-                        MAX_LENGTH, name));
+                        name, MAX_LENGTH));
             }
             index = name.indexOf("@");
         }



Mime
View raw message