mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-01 19:59:03 +00:00
Remove unused casts and variables
This commit is contained in:
@@ -120,7 +120,7 @@ class JdkClientHttpRequest extends AbstractStreamingClientHttpRequest {
|
||||
catch (ExecutionException ex) {
|
||||
Throwable cause = ex.getCause();
|
||||
|
||||
if (cause instanceof CancellationException caEx) {
|
||||
if (cause instanceof CancellationException) {
|
||||
throw new HttpTimeoutException("Request timed out");
|
||||
}
|
||||
if (cause instanceof UncheckedIOException uioEx) {
|
||||
|
||||
Reference in New Issue
Block a user