Skip to content

Commit 2ef3a86

Browse files
committed
polishing
1 parent 53cdb9d commit 2ef3a86

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/handler/AbstractUrlHandlerMapping.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ protected Object getHandlerInternal(HttpServletRequest request) throws Exception
210210
HandlerExecutionChain chain;
211211
if (handler instanceof HandlerExecutionChain) {
212212
chain = (HandlerExecutionChain) handler;
213-
} else {
213+
}
214+
else {
214215
chain = new HandlerExecutionChain(handler);
215216
}
216217
chain.addInterceptors(mappedInterceptors.toArray(new HandlerInterceptor[mappedInterceptors.size()]));
@@ -436,7 +437,7 @@ private class PathExposingHandlerInterceptor extends HandlerInterceptorAdapter {
436437

437438
private final String pathWithinMapping;
438439

439-
private PathExposingHandlerInterceptor(String bestMatchingPattern, String pathWithinMapping) {
440+
public PathExposingHandlerInterceptor(String bestMatchingPattern, String pathWithinMapping) {
440441
this.bestMatchingPattern = bestMatchingPattern;
441442
this.pathWithinMapping = pathWithinMapping;
442443
}

0 commit comments

Comments
 (0)