Skip to content

Commit 06db5aa

Browse files
committed
Polishing
1 parent 9a52c81 commit 06db5aa

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

spring-web/src/test/java/org/springframework/web/cors/CorsConfigurationTests.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@
2424

2525
import org.springframework.http.HttpMethod;
2626

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.*;
3128

3229
/**
3330
* Unit tests for {@link CorsConfiguration}.

spring-webmvc/src/main/java/org/springframework/web/servlet/support/WebContentGenerator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,7 @@ public final int getCacheSeconds() {
263263
* subject to content negotiation and variances based on the value of the
264264
* given request headers. The configured request header names are added only
265265
* 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+
268267
* which allows checking existing response header values.
269268
* @param varyByRequestHeaders one or more request header names
270269
* @since 4.3

0 commit comments

Comments
 (0)