From 972c01cbbd8c99c9c175519dbbae67751c567d86 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 17 Jun 2020 13:58:44 +0200 Subject: [PATCH] Replace "blacklist" with alternative words See gh-25262 --- .../annotation/CrossOriginAnnotationIntegrationTests.java | 2 +- .../method/annotation/GlobalCorsConfigIntegrationTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/CrossOriginAnnotationIntegrationTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/CrossOriginAnnotationIntegrationTests.java index 93d08ce936..b07e752b04 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/CrossOriginAnnotationIntegrationTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/CrossOriginAnnotationIntegrationTests.java @@ -76,7 +76,7 @@ class CrossOriginAnnotationIntegrationTests extends AbstractRequestMappingIntegr @Override protected RestTemplate initRestTemplate() { - // JDK default HTTP client blacklist headers like Origin + // JDK default HTTP client disallowed headers like Origin return new RestTemplate(new HttpComponentsClientHttpRequestFactory()); } diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/GlobalCorsConfigIntegrationTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/GlobalCorsConfigIntegrationTests.java index 96d119d75e..e3a1555b9f 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/GlobalCorsConfigIntegrationTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/GlobalCorsConfigIntegrationTests.java @@ -64,7 +64,7 @@ class GlobalCorsConfigIntegrationTests extends AbstractRequestMappingIntegration @Override protected RestTemplate initRestTemplate() { - // JDK default HTTP client blacklists headers like Origin + // JDK default HTTP client disallowed headers like Origin return new RestTemplate(new HttpComponentsClientHttpRequestFactory()); }