From 48e7908effa1f6e1be514062e4156bceff214861 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Wed, 22 May 2024 15:32:37 +0200 Subject: [PATCH] Polishing --- .../web/reactive/function/client/WebClientIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java index 3bbaea8809a..62a3e524bb1 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java @@ -219,7 +219,7 @@ class WebClientIntegrationTests { else if (nativeRequest.get() instanceof Request nativeReq) { assertThat(nativeReq.getAttributes()).containsEntry("foo", "bar"); } - else if (nativeRequest.get() instanceof org.apache.hc.core5.http.HttpRequest nativeReq) { + else if (nativeRequest.get() instanceof org.apache.hc.core5.http.HttpRequest) { // Attributes are not in the request, but in separate HttpClientContext } }