commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1697269 - /commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Utility.java
Date Sun, 23 Aug 2015 22:28:37 GMT
Author: dbrosius
Date: Sun Aug 23 22:28:37 2015
New Revision: 1697269

URL: http://svn.apache.org/r1697269
Log:
use stringbuilders right

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Utility.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Utility.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Utility.java?rev=1697269&r1=1697268&r2=1697269&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Utility.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Utility.java
Sun Aug 23 22:28:37 2015
@@ -894,7 +894,7 @@ public abstract class Utility {
 
                     // are there more TypeArguments?
                     while (signature.charAt(consumed_chars) != '>') {
-                        type.append(", " + signatureToString(signature.substring(consumed_chars),
chopit));
+                        type.append(", ").append(signatureToString(signature.substring(consumed_chars),
chopit));
                         // update our consumed count by the number of characters the for
type argument
                         consumed_chars = unwrap(Utility.consumed_chars) + consumed_chars;
                         wrap(Utility.consumed_chars, consumed_chars);



Mime
View raw message