Skip to content

Commit 004fbb8

Browse files
artembilanspring-builds
authored andcommitted
Fix deprecation in the HttpOutboundChannelAdapterParserTests
The SF `6.2.2` has a `ResponseErrorHandler.handleError(ClientHttpResponse)` deprecated (cherry picked from commit a0a2e76)
1 parent d93aba9 commit 004fbb8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spring-integration-http/src/test/java/org/springframework/integration/http/config/HttpOutboundChannelAdapterParserTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.integration.http.config;
1818

19+
import java.net.URI;
1920
import java.nio.charset.StandardCharsets;
2021
import java.util.Map;
2122

@@ -311,7 +312,7 @@ public boolean hasError(ClientHttpResponse response) {
311312
}
312313

313314
@Override
314-
public void handleError(ClientHttpResponse response) {
315+
public void handleError(URI url, HttpMethod method, ClientHttpResponse response) {
315316
}
316317

317318
}

0 commit comments

Comments
 (0)