Skip to content

Commit b5d50e0

Browse files
committed
avoid full qualified
1 parent 3cc6a2f commit b5d50e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import java.util.concurrent.ConcurrentHashMap;
3939
import java.util.concurrent.ConcurrentLinkedDeque;
4040
import java.util.concurrent.ConcurrentLinkedQueue;
41+
import java.util.concurrent.Executors;
4142
import java.util.concurrent.Future;
4243
import java.util.concurrent.LinkedBlockingQueue;
4344
import java.util.concurrent.RejectedExecutionException;
@@ -69,7 +70,7 @@
6970
* there is global headroom; it never scans all routes.</p>
7071
*
7172
* @param <R> route key type
72-
* @param <C> connection type (must be {@link org.apache.hc.core5.io.ModalCloseable})
73+
* @param <C> connection type (must be {@link ModalCloseable})
7374
* @see ManagedConnPool
7475
* @see PoolReusePolicy
7576
* @see DisposalCallback
@@ -127,7 +128,7 @@ public RouteSegmentedConnPool(
127128
t.setDaemon(true);
128129
return t;
129130
};
130-
this.timeouts = java.util.concurrent.Executors.newSingleThreadScheduledExecutor(tf);
131+
this.timeouts = Executors.newSingleThreadScheduledExecutor(tf);
131132

132133
// Asynchronous disposer for slow GRACEFUL closes.
133134
final int cores = Math.max(2, Runtime.getRuntime().availableProcessors());

0 commit comments

Comments
 (0)