diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-08-24 14:32:55 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-08-24 14:32:55 -0700 |
commit | 8b23656543c91826a9855e96f451d04b9c84504a (patch) | |
tree | 56f83f5a8fca8bef2d13500da2af808d0200e1de /src/main/java/org/traccar/protocol/WondexProtocol.java | |
parent | 5f59de8e7f4b5bd10362c215f90c8a52dc78ff1a (diff) | |
download | trackermap-server-8b23656543c91826a9855e96f451d04b9c84504a.tar.gz trackermap-server-8b23656543c91826a9855e96f451d04b9c84504a.tar.bz2 trackermap-server-8b23656543c91826a9855e96f451d04b9c84504a.zip |
Fix PMD issues
Diffstat (limited to 'src/main/java/org/traccar/protocol/WondexProtocol.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/WondexProtocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/WondexProtocol.java b/src/main/java/org/traccar/protocol/WondexProtocol.java index 82a18840e..035dd9160 100644 --- a/src/main/java/org/traccar/protocol/WondexProtocol.java +++ b/src/main/java/org/traccar/protocol/WondexProtocol.java @@ -25,7 +25,6 @@ import io.netty.handler.codec.string.StringEncoder; public class WondexProtocol extends BaseProtocol { public WondexProtocol() { - setTextCommandEncoder(new WondexProtocolEncoder(WondexProtocol.this)); setSupportedCommands( Command.TYPE_GET_DEVICE_STATUS, Command.TYPE_GET_MODEM_STATUS, @@ -33,6 +32,7 @@ public class WondexProtocol extends BaseProtocol { Command.TYPE_POSITION_SINGLE, Command.TYPE_GET_VERSION, Command.TYPE_IDENTIFICATION); + setTextCommandEncoder(new WondexProtocolEncoder(this)); addServer(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { |