Browse Source

Use StringBuilder instead of StringBuffer in tests

Closes gh-25450
pull/25461/head
XenoAmess 4 years ago committed by GitHub
parent
commit
fa0a1446f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJAdviceParameterNameDiscovererTests.java

2
spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJAdviceParameterNameDiscovererTests.java

@ -275,7 +275,7 @@ public class AspectJAdviceParameterNameDiscovererTests { @@ -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]);

Loading…
Cancel
Save