commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r828910 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java
Date Fri, 23 Oct 2009 01:46:26 GMT
Author: sebb
Date: Fri Oct 23 01:46:25 2009
New Revision: 828910

URL: http://svn.apache.org/viewvc?rev=828910&view=rev
Log:
LANG-541 - Switched StringBuffer to StringBuilder when only used internally

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java?rev=828910&r1=828909&r2=828910&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java Fri
Oct 23 01:46:25 2009
@@ -705,7 +705,7 @@
      * @return parsed token
      */
     protected String parseToken(String pattern, int[] indexRef) {
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
 
         int i = indexRef[0];
         int length = pattern.length();



Mime
View raw message