diff --git a/spring-web/src/test/java/org/springframework/web/service/invoker/PathVariableArgumentResolverTests.java b/spring-web/src/test/java/org/springframework/web/service/invoker/PathVariableArgumentResolverTests.java index 2cd6283329e..e24304e4b6d 100644 --- a/spring-web/src/test/java/org/springframework/web/service/invoker/PathVariableArgumentResolverTests.java +++ b/spring-web/src/test/java/org/springframework/web/service/invoker/PathVariableArgumentResolverTests.java @@ -40,6 +40,7 @@ class PathVariableArgumentResolverTests { @BeforeEach + @SuppressWarnings("deprecation") void setUp() throws Exception { HttpServiceProxyFactory proxyFactory = HttpServiceProxyFactory.builder(this.client).build(); proxyFactory.afterPropertiesSet();