Commit e6ea28de authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

parent 2dc0488a
...@@ -304,11 +304,11 @@ public final class EndpointRequest { ...@@ -304,11 +304,11 @@ public final class EndpointRequest {
} }
return ""; return "";
}).distinct().forEach((path) -> { }).distinct().forEach((path) -> {
String pattern = path; StringBuilder pattern = new StringBuilder(path);
for (String part : parts) { for (String part : parts) {
pattern += part; pattern.append(part);
} }
matchers.add(new AntPathRequestMatcher(pattern)); matchers.add(new AntPathRequestMatcher(pattern.toString()));
}); });
return matchers; return matchers;
} }
......
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