Skip to content

Commit a0a2e76

Browse files
committed
Fix deprecation in the HttpOutboundChannelAdapterParserTests
The SF `6.2.2` has a `ResponseErrorHandler.handleError(ClientHttpResponse)` deprecated **Auto-cherry-pick to `6.4.x`**
1 parent 24594f6 commit a0a2e76

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)