diff --git a/handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java b/handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java index a9a96a436c..b6617d8847 100644 --- a/handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java +++ b/handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java @@ -15,13 +15,12 @@ */ package io.netty.handler.traffic; -import java.util.concurrent.Executor; - import io.netty.channel.ChannelHandler.Sharable; import io.netty.handler.execution.ExecutionHandler; import io.netty.handler.execution.MemoryAwareThreadPoolExecutor; import io.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor; import io.netty.handler.execution.ObjectSizeEstimator; +import io.netty.util.Timer; /** * This implementation of the {@link AbstractTrafficShapingHandler} is for global @@ -31,8 +30,8 @@ import io.netty.handler.execution.ObjectSizeEstimator; * The general use should be as follow:
*