diff --git a/spring-web/src/test/java/org/springframework/web/service/invoker/HttpMethodArgumentResolverTests.java b/spring-web/src/test/java/org/springframework/web/service/invoker/HttpMethodArgumentResolverTests.java index b74c233f4f..4e7c2acc54 100644 --- a/spring-web/src/test/java/org/springframework/web/service/invoker/HttpMethodArgumentResolverTests.java +++ b/spring-web/src/test/java/org/springframework/web/service/invoker/HttpMethodArgumentResolverTests.java @@ -42,6 +42,7 @@ public class HttpMethodArgumentResolverTests { @BeforeEach + @SuppressWarnings("deprecation") void setUp() throws Exception { HttpServiceProxyFactory proxyFactory = HttpServiceProxyFactory.builder(this.client).build(); proxyFactory.afterPropertiesSet(); diff --git a/spring-web/src/test/java/org/springframework/web/service/invoker/HttpServiceMethodTests.java b/spring-web/src/test/java/org/springframework/web/service/invoker/HttpServiceMethodTests.java index baac0af3b9..0b31b89160 100644 --- a/spring-web/src/test/java/org/springframework/web/service/invoker/HttpServiceMethodTests.java +++ b/spring-web/src/test/java/org/springframework/web/service/invoker/HttpServiceMethodTests.java @@ -63,6 +63,7 @@ public class HttpServiceMethodTests { @BeforeEach + @SuppressWarnings("deprecation") void setUp() throws Exception { this.proxyFactory = HttpServiceProxyFactory.builder(this.client).build(); this.proxyFactory.afterPropertiesSet(); diff --git a/spring-web/src/test/java/org/springframework/web/service/invoker/NamedValueArgumentResolverTests.java b/spring-web/src/test/java/org/springframework/web/service/invoker/NamedValueArgumentResolverTests.java index 1e710bc107..6ac12d4675 100644 --- a/spring-web/src/test/java/org/springframework/web/service/invoker/NamedValueArgumentResolverTests.java +++ b/spring-web/src/test/java/org/springframework/web/service/invoker/NamedValueArgumentResolverTests.java @@ -60,6 +60,7 @@ class NamedValueArgumentResolverTests { @BeforeEach + @SuppressWarnings("deprecation") void setUp() throws Exception { HttpServiceProxyFactory proxyFactory = HttpServiceProxyFactory.builder(this.client) .customArgumentResolver(this.argumentResolver)