File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
spring-web/src/main/java/org/springframework/web/cors Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,13 @@ public class CorsConfiguration {
57
57
/** Wildcard representing <em>all</em> origins, methods, or headers. */
58
58
public static final String ALL = "*" ;
59
59
60
- private static final List <String > ALL_LIST = Collections .unmodifiableList (
61
- Collections .singletonList (ALL ));
60
+ private static final List <String > ALL_LIST = Collections .singletonList (ALL );
62
61
63
62
private static final OriginPattern ALL_PATTERN = new OriginPattern ("*" );
64
63
65
- private static final List <OriginPattern > ALL_PATTERN_LIST = Collections .unmodifiableList (
66
- Collections .singletonList (ALL_PATTERN ));
64
+ private static final List <OriginPattern > ALL_PATTERN_LIST = Collections .singletonList (ALL_PATTERN );
67
65
68
- private static final List <String > DEFAULT_PERMIT_ALL = Collections .unmodifiableList (
69
- Collections .singletonList (ALL ));
66
+ private static final List <String > DEFAULT_PERMIT_ALL = Collections .singletonList (ALL );
70
67
71
68
private static final List <HttpMethod > DEFAULT_METHODS = Collections .unmodifiableList (
72
69
Arrays .asList (HttpMethod .GET , HttpMethod .HEAD ));
You can’t perform that action at this time.
0 commit comments