Use StringBuilder instead of StringBuffer in tests

Closes gh-25450
This commit is contained in:
XenoAmess 2020-07-22 16:21:06 +08:00 committed by GitHub
parent 2522fe0292
commit fa0a1446f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ public class AspectJAdviceParameterNameDiscovererTests {
private static String format(String[] names) {
StringBuffer sb = new StringBuffer();
StringBuilder sb = new StringBuilder();
sb.append("(");
for (int i = 0; i < names.length; i++) {
sb.append(names[i]);