diff options
Diffstat (limited to 'src/main/javassist/CtClassType.java')
-rw-r--r-- | src/main/javassist/CtClassType.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/javassist/CtClassType.java b/src/main/javassist/CtClassType.java index 959ec302..22b873a6 100644 --- a/src/main/javassist/CtClassType.java +++ b/src/main/javassist/CtClassType.java @@ -106,7 +106,7 @@ class CtClassType extends CtClass { } @Override - protected void extendToString(StringBuffer buffer) { + protected void extendToString(StringBuilder buffer) { if (wasChanged) buffer.append("changed "); @@ -125,7 +125,7 @@ class CtClassType extends CtClass { if (ext != null) { String name = ext.getName(); if (!name.equals("java.lang.Object")) - buffer.append(" extends " + ext.getName()); + buffer.append(" extends ").append(ext.getName()); } } catch (NotFoundException e) { @@ -155,7 +155,7 @@ class CtClassType extends CtClass { memCache.methodHead(), memCache.lastMethod()); } - private void exToString(StringBuffer buffer, String msg, + private void exToString(StringBuilder buffer, String msg, CtMember head, CtMember tail) { buffer.append(msg); while (head != tail) { |