Commit dd9209c7 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.0.x'

parents f8cffaf2 7c3d863c
...@@ -317,11 +317,11 @@ public final class EndpointRequest { ...@@ -317,11 +317,11 @@ public final class EndpointRequest {
public RequestMatcher antPath(RequestMatcherProvider matcherProvider, public RequestMatcher antPath(RequestMatcherProvider matcherProvider,
String... parts) { String... parts) {
String pattern = this.prefix; StringBuilder pattern = new StringBuilder(this.prefix);
for (String part : parts) { for (String part : parts) {
pattern += part; pattern.append(part);
} }
return matcherProvider.getRequestMatcher(pattern); return matcherProvider.getRequestMatcher(pattern.toString());
} }
} }
......
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