diff options
author | Timothy Hoffman <4001421+tim-hoffman@users.noreply.github.com> | 2021-07-16 10:55:33 -0500 |
---|---|---|
committer | Timothy Hoffman <4001421+tim-hoffman@users.noreply.github.com> | 2021-07-16 10:55:33 -0500 |
commit | b4279f68174129f8b7b6180e6782641884daf013 (patch) | |
tree | fdc6f35a9e2c39214d2d9ff76028eff11dd6af07 /src/main/javassist/CtNewClass.java | |
parent | 047f7c71be30d1fce5773c8e9c014052acac14df (diff) | |
download | javassist-b4279f68174129f8b7b6180e6782641884daf013.tar.gz javassist-b4279f68174129f8b7b6180e6782641884daf013.zip |
Replace StringBuffer with StringBuilder and other minor String optimizations
Diffstat (limited to 'src/main/javassist/CtNewClass.java')
-rw-r--r-- | src/main/javassist/CtNewClass.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/CtNewClass.java b/src/main/javassist/CtNewClass.java index b0a14806..496eaec7 100644 --- a/src/main/javassist/CtNewClass.java +++ b/src/main/javassist/CtNewClass.java @@ -45,7 +45,7 @@ class CtNewClass extends CtClassType { } @Override - protected void extendToString(StringBuffer buffer) { + protected void extendToString(StringBuilder buffer) { if (hasConstructor) buffer.append("hasConstructor "); |