aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/compiler/ast/Declarator.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/compiler/ast/Declarator.java')
-rw-r--r--src/main/javassist/compiler/ast/Declarator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/javassist/compiler/ast/Declarator.java b/src/main/javassist/compiler/ast/Declarator.java
index 24170db0..c29f6740 100644
--- a/src/main/javassist/compiler/ast/Declarator.java
+++ b/src/main/javassist/compiler/ast/Declarator.java
@@ -107,12 +107,12 @@ public class Declarator extends ASTList implements TokenId {
if (name == null)
return null;
- StringBuffer sbuf = new StringBuffer();
+ StringBuilder sbuf = new StringBuilder();
astToClassName(sbuf, name, sep);
return sbuf.toString();
}
- private static void astToClassName(StringBuffer sbuf, ASTList name,
+ private static void astToClassName(StringBuilder sbuf, ASTList name,
char sep) {
for (;;) {
ASTree h = name.head();