Improve comment (#10801)
This commit is contained in:
parent
dfb1dd19e6
commit
68c92b06d0
|
@ -46,7 +46,8 @@ public class PathMatcherStaticInstrumentation implements TypeInstrumentation {
|
||||||
AkkaRouteHolder.endMatched();
|
AkkaRouteHolder.endMatched();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// for remember the matched path in PathMatcherInstrumentation, otherwise we just use a *
|
// if present use the matched path that was remembered in PathMatcherInstrumentation,
|
||||||
|
// otherwise just use a *
|
||||||
String prefix = VirtualField.find(PathMatcher.class, String.class).get(pathMatcher);
|
String prefix = VirtualField.find(PathMatcher.class, String.class).get(pathMatcher);
|
||||||
if (prefix == null) {
|
if (prefix == null) {
|
||||||
if (PathMatchers.Slash$.class == pathMatcher.getClass()) {
|
if (PathMatchers.Slash$.class == pathMatcher.getClass()) {
|
||||||
|
|
Loading…
Reference in New Issue