File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
spring-webmvc/src/main/java/org/springframework/web/servlet/support
spring-web/src/test/java/org/springframework/web/cors Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 24
24
25
25
import org .springframework .http .HttpMethod ;
26
26
27
- import static org .junit .Assert .assertEquals ;
28
- import static org .junit .Assert .assertFalse ;
29
- import static org .junit .Assert .assertNull ;
30
- import static org .junit .Assert .assertTrue ;
27
+ import static org .junit .Assert .*;
31
28
32
29
/**
33
30
* Unit tests for {@link CorsConfiguration}.
Original file line number Diff line number Diff line change @@ -263,8 +263,7 @@ public final int getCacheSeconds() {
263
263
* subject to content negotiation and variances based on the value of the
264
264
* given request headers. The configured request header names are added only
265
265
* if not already present in the response "Vary" header.
266
- *
267
- * <p><strong>Note:</strong> this property is only supported on Servlet 3.0+
266
+ * <p><strong>Note:</strong> This property is only supported on Servlet 3.0+
268
267
* which allows checking existing response header values.
269
268
* @param varyByRequestHeaders one or more request header names
270
269
* @since 4.3
You can’t perform that action at this time.
0 commit comments