aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/bytecode/analysis/Frame.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/bytecode/analysis/Frame.java')
-rw-r--r--src/main/javassist/bytecode/analysis/Frame.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/javassist/bytecode/analysis/Frame.java b/src/main/javassist/bytecode/analysis/Frame.java
index 28c62e35..916988c2 100644
--- a/src/main/javassist/bytecode/analysis/Frame.java
+++ b/src/main/javassist/bytecode/analysis/Frame.java
@@ -231,7 +231,7 @@ public class Frame {
@Override
public String toString() {
- StringBuffer buffer = new StringBuffer();
+ StringBuilder buffer = new StringBuilder();
buffer.append("locals = [");
for (int i = 0; i < locals.length; i++) {
@@ -245,7 +245,7 @@ public class Frame {
if (i < top - 1)
buffer.append(", ");
}
- buffer.append("]");
+ buffer.append(']');
return buffer.toString();
}