logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396287 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
Date Tue, 09 Oct 2012 20:14:15 GMT
Author: ggregory
Date: Tue Oct  9 20:14:15 2012
New Revision: 1396287

URL: http://svn.apache.org/viewvc?rev=1396287&view=rev
Log:
Make ivar final.

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

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java?rev=1396287&r1=1396286&r2=1396287&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
Tue Oct  9 20:14:15 2012
@@ -69,7 +69,7 @@ public class ParameterizedMessage implem
     private static final char DELIM_STOP = '}';
     private static final char ESCAPE_CHAR = '\\';
 
-    private String messagePattern;
+    private final String messagePattern;
     private String[] stringArgs;
     private transient Object[] argArray;
     private transient String formattedMessage;



Mime
View raw message