aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/BaseProtocolPoller.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/BaseProtocolPoller.java')
-rw-r--r--src/main/java/org/traccar/BaseProtocolPoller.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/BaseProtocolPoller.java b/src/main/java/org/traccar/BaseProtocolPoller.java
index 5f4121fc1..be6556374 100644
--- a/src/main/java/org/traccar/BaseProtocolPoller.java
+++ b/src/main/java/org/traccar/BaseProtocolPoller.java
@@ -19,7 +19,6 @@ import io.netty.channel.Channel;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.util.concurrent.Future;
-import org.traccar.config.Keys;
import java.net.SocketAddress;
import java.util.concurrent.TimeUnit;
@@ -29,7 +28,7 @@ public abstract class BaseProtocolPoller extends ChannelDuplexHandler {
private final long interval;
private Future<?> timeout;
- public BaseProtocolPoller(Protocol protocol, long interval) {
+ public BaseProtocolPoller(long interval) {
this.interval = interval;
}