mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 02:09:05 +00:00
Polish
This commit is contained in:
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user