diff --git a/src/main/java/com/xiaomi/infra/pegasus/client/PegasusScanner.java b/src/main/java/com/xiaomi/infra/pegasus/client/PegasusScanner.java index 595733d0..d7734192 100644 --- a/src/main/java/com/xiaomi/infra/pegasus/client/PegasusScanner.java +++ b/src/main/java/com/xiaomi/infra/pegasus/client/PegasusScanner.java @@ -19,7 +19,6 @@ import java.util.LinkedList; import java.util.List; import java.util.concurrent.ExecutionException; -import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.apache.commons.lang3.tuple.ImmutablePair; diff --git a/src/main/java/com/xiaomi/infra/pegasus/client/PegasusScannerInterface.java b/src/main/java/com/xiaomi/infra/pegasus/client/PegasusScannerInterface.java index d8f0d0a4..04386b70 100644 --- a/src/main/java/com/xiaomi/infra/pegasus/client/PegasusScannerInterface.java +++ b/src/main/java/com/xiaomi/infra/pegasus/client/PegasusScannerInterface.java @@ -3,7 +3,7 @@ // can be found in the LICENSE file in the root directory of this source tree. package com.xiaomi.infra.pegasus.client; -import java.util.concurrent.Future; +import io.netty.util.concurrent.Future; import org.apache.commons.lang3.tuple.Pair; /**