aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Jt600Protocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/Jt600Protocol.java')
-rw-r--r--src/org/traccar/protocol/Jt600Protocol.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/org/traccar/protocol/Jt600Protocol.java b/src/org/traccar/protocol/Jt600Protocol.java
index 6d9816c22..97c5fa6ce 100644
--- a/src/org/traccar/protocol/Jt600Protocol.java
+++ b/src/org/traccar/protocol/Jt600Protocol.java
@@ -21,8 +21,6 @@ import org.traccar.PipelineBuilder;
import org.traccar.TrackerServer;
import org.traccar.model.Command;
-import java.util.List;
-
public class Jt600Protocol extends BaseProtocol {
public Jt600Protocol() {
@@ -31,11 +29,7 @@ public class Jt600Protocol extends BaseProtocol {
Command.TYPE_ENGINE_STOP,
Command.TYPE_SET_TIMEZONE,
Command.TYPE_REBOOT_DEVICE);
- }
-
- @Override
- public void initTrackerServers(List<TrackerServer> serverList) {
- serverList.add(new TrackerServer(false, getName()) {
+ addServer(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
pipeline.addLast(new Jt600FrameDecoder());