Skip to content

Commit bfdf070

Browse files
committed
Suppress deprecation warnings in tests
1 parent b2cf2b9 commit bfdf070

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

spring-web/src/test/java/org/springframework/web/service/invoker/HttpMethodArgumentResolverTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public class HttpMethodArgumentResolverTests {
4242

4343

4444
@BeforeEach
45+
@SuppressWarnings("deprecation")
4546
void setUp() throws Exception {
4647
HttpServiceProxyFactory proxyFactory = HttpServiceProxyFactory.builder(this.client).build();
4748
proxyFactory.afterPropertiesSet();

spring-web/src/test/java/org/springframework/web/service/invoker/HttpServiceMethodTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public class HttpServiceMethodTests {
6363

6464

6565
@BeforeEach
66+
@SuppressWarnings("deprecation")
6667
void setUp() throws Exception {
6768
this.proxyFactory = HttpServiceProxyFactory.builder(this.client).build();
6869
this.proxyFactory.afterPropertiesSet();

spring-web/src/test/java/org/springframework/web/service/invoker/NamedValueArgumentResolverTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class NamedValueArgumentResolverTests {
6060

6161

6262
@BeforeEach
63+
@SuppressWarnings("deprecation")
6364
void setUp() throws Exception {
6465
HttpServiceProxyFactory proxyFactory = HttpServiceProxyFactory.builder(this.client)
6566
.customArgumentResolver(this.argumentResolver)

0 commit comments

Comments
 (0)