commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1459444 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java
Date Thu, 21 Mar 2013 18:42:03 GMT
Author: ggregory
Date: Thu Mar 21 18:42:03 2013
New Revision: 1459444

URL: http://svn.apache.org/r1459444
Log:
content ivar can be final.

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java?rev=1459444&r1=1459443&r2=1459444&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Token.java Thu Mar 21 18:42:03
2013
@@ -52,7 +52,7 @@ final class Token {
     Token.Type type = INVALID;
 
     /** The content buffer. */
-    StringBuilder content = new StringBuilder(INITIAL_TOKEN_LENGTH);
+    final StringBuilder content = new StringBuilder(INITIAL_TOKEN_LENGTH);
 
     /** Token ready flag: indicates a valid token with content (ready for the parser). */
     boolean isReady;



Mime
View raw message