mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 22:59:03 +00:00
Suppress deprecation warnings in tests
This commit is contained in:
+1
@@ -42,6 +42,7 @@ public class HttpMethodArgumentResolverTests {
|
||||
|
||||
|
||||
@BeforeEach
|
||||
@SuppressWarnings("deprecation")
|
||||
void setUp() throws Exception {
|
||||
HttpServiceProxyFactory proxyFactory = HttpServiceProxyFactory.builder(this.client).build();
|
||||
proxyFactory.afterPropertiesSet();
|
||||
|
||||
+1
@@ -63,6 +63,7 @@ public class HttpServiceMethodTests {
|
||||
|
||||
|
||||
@BeforeEach
|
||||
@SuppressWarnings("deprecation")
|
||||
void setUp() throws Exception {
|
||||
this.proxyFactory = HttpServiceProxyFactory.builder(this.client).build();
|
||||
this.proxyFactory.afterPropertiesSet();
|
||||
|
||||
+1
@@ -60,6 +60,7 @@ class NamedValueArgumentResolverTests {
|
||||
|
||||
|
||||
@BeforeEach
|
||||
@SuppressWarnings("deprecation")
|
||||
void setUp() throws Exception {
|
||||
HttpServiceProxyFactory proxyFactory = HttpServiceProxyFactory.builder(this.client)
|
||||
.customArgumentResolver(this.argumentResolver)
|
||||
|
||||
Reference in New Issue
Block a user