Commit 000cb943 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Fix String concatenation in a loop"

Closes gh-14153
parent 43acc375
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment