Skip to content

Commit 972c01c

Browse files
committed
Replace "blacklist" with alternative words
See gh-25262
1 parent 9c3417f commit 972c01c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/CrossOriginAnnotationIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ protected ApplicationContext initApplicationContext() {
7676

7777
@Override
7878
protected RestTemplate initRestTemplate() {
79-
// JDK default HTTP client blacklist headers like Origin
79+
// JDK default HTTP client disallowed headers like Origin
8080
return new RestTemplate(new HttpComponentsClientHttpRequestFactory());
8181
}
8282

spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/GlobalCorsConfigIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected ApplicationContext initApplicationContext() {
6464

6565
@Override
6666
protected RestTemplate initRestTemplate() {
67-
// JDK default HTTP client blacklists headers like Origin
67+
// JDK default HTTP client disallowed headers like Origin
6868
return new RestTemplate(new HttpComponentsClientHttpRequestFactory());
6969
}
7070

0 commit comments

Comments
 (0)