Skip to content

Commit ba99672

Browse files
izeyebclozel
authored andcommitted
Suppress removal warnings
Closes spring-projectsgh-29325
1 parent aaa22ad commit ba99672

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

spring-web/src/test/java/org/springframework/web/util/UriComponentsBuilderTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,7 @@ public HttpMethod getMethod() {
685685
return HttpMethod.GET;
686686
}
687687

688+
@SuppressWarnings("removal")
688689
@Override
689690
@Deprecated
690691
public String getMethodValue() {

spring-web/src/testFixtures/java/org/springframework/web/testfixture/http/client/MockClientHttpRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public HttpMethod getMethod() {
103103
return this.httpMethod;
104104
}
105105

106+
@SuppressWarnings("removal")
106107
@Override
107108
@Deprecated
108109
public String getMethodValue() {

spring-web/src/testFixtures/java/org/springframework/web/testfixture/http/client/reactive/MockClientHttpRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public HttpMethod getMethod() {
9595
return this.httpMethod;
9696
}
9797

98+
@SuppressWarnings("removal")
9899
@Override
99100
@Deprecated
100101
public String getMethodValue() {

0 commit comments

Comments
 (0)