diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistry.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistry.java index da99c0b5b42..ead009eb057 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistry.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/CorsRegistry.java @@ -42,9 +42,8 @@ public class CorsRegistry { * *

Exact path mapping URIs (such as {@code "/admin"}) are supported as * well as Ant-style path patterns (such as {@code "/admin/**"}). - *

By default, all origins, all headers, credentials and {@code GET}, - * {@code HEAD}, and {@code POST} methods are allowed, and the max age - * is set to 30 minutes. + *

By default, all origins, all headers and {@code GET}, {@code HEAD}, + * and {@code POST} methods are allowed, and the max age is set to 30 minutes. * *

The following defaults are applied to the {@link CorsRegistration}: *