Skip to content

Commit f504699

Browse files
committed
Remove not used variable
1 parent 72a5e88 commit f504699

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎httpcore5/src/main/java/org/apache/hc/core5/pool/RouteSegmentedConnPool.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public Future<PoolEntry<R, C>> lease(
198198
return w;
199199
}
200200

201-
scheduleTimeout(w, seg, callback);
201+
scheduleTimeout(w, seg);
202202

203203
if (callback != null) {
204204
w.whenComplete((pe, ex) -> {
@@ -423,8 +423,7 @@ private boolean isPastTtl(final PoolEntry<R, C> p) {
423423

424424
private void scheduleTimeout(
425425
final Waiter w,
426-
final Segment seg,
427-
final FutureCallback<PoolEntry<R, C>> cb) {
426+
final Segment seg) {
428427

429428
if (!TimeValue.isPositive(w.requestTimeout)) {
430429
return;

0 commit comments

Comments
 (0)