Skip to content

Commit 3346ca7

Browse files
committed
Deal with Spring Framework deprecation
See gh-43750
1 parent bf338f8 commit 3346ca7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/src/intTest/java/org/springframework/boot/context/embedded/EmbeddedServerContainerInvocationContextProvider.java

+5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
import org.junit.platform.commons.util.ReflectionUtils;
4545

4646
import org.springframework.boot.testsupport.BuildOutput;
47+
import org.springframework.http.HttpMethod;
4748
import org.springframework.http.client.ClientHttpResponse;
4849
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
4950
import org.springframework.util.FileSystemUtils;
@@ -195,8 +196,12 @@ public boolean hasError(ClientHttpResponse response) throws IOException {
195196
}
196197

197198
@Override
199+
@SuppressWarnings("removal")
198200
public void handleError(ClientHttpResponse response) throws IOException {
201+
}
199202

203+
@Override
204+
public void handleError(URI url, HttpMethod method, ClientHttpResponse response) throws IOException {
200205
}
201206

202207
});

0 commit comments

Comments
 (0)