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()); }