Polish "Fix String concatenation in a loop"

Closes gh-14153
This commit is contained in:
Stephane Nicoll
2018-08-22 10:47:05 +02:00
parent 43acc37587
commit 000cb94323

View File

@@ -317,7 +317,7 @@ public final class EndpointRequest {
public RequestMatcher antPath(RequestMatcherProvider matcherProvider,
String... parts) {
StringBuffer pattern = new StringBuffer(this.prefix);
StringBuilder pattern = new StringBuilder(this.prefix);
for (String part : parts) {
pattern.append(part);
}