Skip to content

Commit 4c56fcb

Browse files
committed
Fix formatting
1 parent e7a1d25 commit 4c56fcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestConnectionManagement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,13 +418,13 @@ void testConnectionRequestTimeout() throws Exception {
418418
try {
419419
while (n.decrementAndGet() > 0) {
420420
try {
421-
LeaseRequest request = connManager.lease("id1", route, connRequestTimeout, null);
421+
final LeaseRequest request = connManager.lease("id1", route, connRequestTimeout, null);
422422
final ConnectionEndpoint connectionEndpoint = request.get(connRequestTimeout);
423423
connManager.release(connectionEndpoint, null, null);
424424
} catch (final InterruptedException ex) {
425425
Thread.currentThread().interrupt();
426426
Assertions.fail("Unexpected exception", ex);
427-
} catch (final TimeoutException | ExecutionException ex) {
427+
} catch (final TimeoutException | ExecutionException ignored) {
428428
}
429429
}
430430
} finally {

0 commit comments

Comments
 (0)