Skip to content

Commit f8fc570

Browse files
committed
simplify
1 parent 76f4d25 commit f8fc570

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/PoolingHttpClientConnectionManager.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,7 @@ public ConnectionEndpoint get(
400400
}
401401
} catch (final TimeoutException | ExecutionException | CancellationException ignore) {
402402
} catch (final InterruptedException interrupted) {
403-
if (!(ex instanceof InterruptedException)) {
404403
Thread.currentThread().interrupt();
405-
}
406404
}
407405
}
408406
throw ex;

0 commit comments

Comments
 (0)