aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-05 20:38:22 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-05 20:38:22 +1200
commit6a3d70c2e591edbb34af15dcaa45a9a7114c1dd3 (patch)
tree6508623ffe4a9be56f0344af0e15f7becc42b34b /src/org/traccar
parentc34ab02bb5943ecac8a143127967c29bda45647c (diff)
downloadtrackermap-server-6a3d70c2e591edbb34af15dcaa45a9a7114c1dd3.tar.gz
trackermap-server-6a3d70c2e591edbb34af15dcaa45a9a7114c1dd3.tar.bz2
trackermap-server-6a3d70c2e591edbb34af15dcaa45a9a7114c1dd3.zip
Remove extra wrappers
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Gps103Protocol.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/Gps103Protocol.java b/src/org/traccar/protocol/Gps103Protocol.java
index b49415ddf..068f362c9 100644
--- a/src/org/traccar/protocol/Gps103Protocol.java
+++ b/src/org/traccar/protocol/Gps103Protocol.java
@@ -21,8 +21,6 @@ import org.traccar.BaseProtocol;
import org.traccar.CharacterDelimiterFrameDecoder;
import org.traccar.PipelineBuilder;
import org.traccar.TrackerServer;
-import org.traccar.WrapperInboundHandler;
-import org.traccar.WrapperOutboundHandler;
import org.traccar.model.Command;
import java.util.List;
@@ -49,8 +47,8 @@ public class Gps103Protocol extends BaseProtocol {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(2048, "\r\n", "\n", ";"));
- pipeline.addLast("stringEncoder", new WrapperOutboundHandler(new StringEncoder()));
- pipeline.addLast("stringDecoder", new WrapperInboundHandler(new StringDecoder()));
+ pipeline.addLast("stringEncoder", new StringEncoder());
+ pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectEncoder", new Gps103ProtocolEncoder());
pipeline.addLast("objectDecoder", new Gps103ProtocolDecoder(Gps103Protocol.this));
}