This commit is contained in:
Stephane Nicoll
2018-07-13 09:36:37 +02:00
parent 2dc0488af7
commit e6ea28dec5

View File

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