diff options
Diffstat (limited to 'org.aspectj.matcher/src')
-rw-r--r-- | org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java index 69d788f46..3d4c0d46d 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java @@ -113,7 +113,7 @@ public class TypeFactory { return new UnresolvedType(signature, signatureErasure, UnresolvedType.NONE); } else { int endOfParams = locateMatchingEndAngleBracket(signature, startOfParams); - StringBuffer erasureSig = new StringBuffer(signature); + StringBuilder erasureSig = new StringBuilder(signature); erasureSig.setCharAt(0, 'L'); while (startOfParams != -1) { erasureSig.delete(startOfParams, endOfParams + 1); @@ -210,7 +210,7 @@ public class TypeFactory { return new UnresolvedType(signature); } else { int endOfParams = locateMatchingEndAngleBracket(signature, leftAngleBracket); - StringBuffer erasureSig = new StringBuffer(signature); + StringBuilder erasureSig = new StringBuilder(signature); erasureSig.setCharAt(0, 'L'); while (leftAngleBracket != -1) { erasureSig.delete(leftAngleBracket, endOfParams + 1); @@ -275,7 +275,7 @@ public class TypeFactory { return idx; } - private static int locateFirstBracket(StringBuffer signature) { + private static int locateFirstBracket(StringBuilder signature) { int idx = 0; int max = signature.length(); while (idx < max) { |