Merge branch '6.1.x'

This commit is contained in:
Sam Brannen
2024-11-03 16:17:43 +01:00
6 changed files with 12 additions and 12 deletions

View File

@@ -479,8 +479,8 @@ public abstract class AbstractHandlerMethodMapping<T> extends AbstractHandlerMap
@Override
protected boolean hasCorsConfigurationSource(Object handler) {
return super.hasCorsConfigurationSource(handler) ||
(handler instanceof HandlerMethod handerMethod &&
this.mappingRegistry.getCorsConfiguration(handerMethod) != null);
(handler instanceof HandlerMethod handlerMethod &&
this.mappingRegistry.getCorsConfiguration(handlerMethod) != null);
}
@Override