logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattsic...@apache.org
Subject svn commit: r1584469 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java
Date Thu, 03 Apr 2014 23:28:56 GMT
Author: mattsicker
Date: Thu Apr  3 23:28:55 2014
New Revision: 1584469

URL: http://svn.apache.org/r1584469
Log:
Replace single char strings with chars.

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

Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java?rev=1584469&r1=1584468&r2=1584469&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java
Thu Apr  3 23:28:55 2014
@@ -164,7 +164,7 @@ public class FormattedMessage implements
     @Override
     public String toString() {
         return "FormattedMessage[messagePattern=" + messagePattern + ", args=" +
-            Arrays.toString(argArray) +  "]";
+            Arrays.toString(argArray) + ']';
     }
 
     private void writeObject(final ObjectOutputStream out) throws IOException {
@@ -203,7 +203,7 @@ public class FormattedMessage implements
             return throwable;
         }
         if (message == null) {
-            message = getMessage(messagePattern, argArray, throwable);
+            message = getMessage(messagePattern, argArray, null);
         }
         return message.getThrowable();
     }



Mime
View raw message