Polish formatting

See gh-27801
This commit is contained in:
Stephane Nicoll 2021-12-13 15:57:58 +01:00
parent 4453102e85
commit 61601de250
1 changed files with 2 additions and 1 deletions

View File

@ -476,7 +476,8 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
// Local exception handler methods on the controller class itself.
// To be invoked through the proxy, even in case of an interface-based proxy.
handlerType = handlerMethod.getBeanType();
ExceptionHandlerMethodResolver resolver = this.exceptionHandlerCache.computeIfAbsent(handlerType, ExceptionHandlerMethodResolver::new);
ExceptionHandlerMethodResolver resolver = this.exceptionHandlerCache.computeIfAbsent(
handlerType, ExceptionHandlerMethodResolver::new);
Method method = resolver.resolveMethod(exception);
if (method != null) {
return new ServletInvocableHandlerMethod(handlerMethod.getBean(), method, this.applicationContext);