Merge branch '5.1.x'

This commit is contained in:
Juergen Hoeller
2019-04-26 23:00:40 +02:00
2 changed files with 11 additions and 11 deletions

View File

@@ -55,8 +55,9 @@ import org.springframework.web.reactive.result.method.SyncInvocableHandlerMethod
/**
* Package-private class to assist {@link RequestMappingHandlerAdapter} with
* resolving, initializing, and caching annotated methods declared in
* {@code @Controller} and {@code @ControllerAdvice} components. Assists with
* the following annotations:
* {@code @Controller} and {@code @ControllerAdvice} components.
*
* <p>Assists with the following annotations:
* <ul>
* <li>{@code @InitBinder}
* <li>{@code @ModelAttribute}
@@ -340,7 +341,6 @@ class ControllerMethodResolver {
*/
@Nullable
public InvocableHandlerMethod getExceptionHandlerMethod(Throwable ex, HandlerMethod handlerMethod) {
Class<?> handlerType = handlerMethod.getBeanType();
// Controller-local first...