aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/XexunProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-29 13:20:39 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-29 13:20:39 +1200
commitb7327c3addc914c729ca2f9b50cd9a82e6d5d7d2 (patch)
treeaa32e4c8b7cba58329d8cd077ef13c310f32f249 /src/org/traccar/protocol/XexunProtocol.java
parent9d0819b538ab123bcf125f32d02920865090d14d (diff)
downloadtrackermap-server-b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2.tar.gz
trackermap-server-b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2.tar.bz2
trackermap-server-b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2.zip
Combine MTA6 protocols
Diffstat (limited to 'src/org/traccar/protocol/XexunProtocol.java')
-rw-r--r--src/org/traccar/protocol/XexunProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/XexunProtocol.java b/src/org/traccar/protocol/XexunProtocol.java
index 6ce55b30e..0d4502a3a 100644
--- a/src/org/traccar/protocol/XexunProtocol.java
+++ b/src/org/traccar/protocol/XexunProtocol.java
@@ -39,7 +39,7 @@ public class XexunProtocol extends BaseProtocol {
serverList.add(new TrackerServer(new ServerBootstrap(), this.getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- if (Boolean.valueOf(Context.getProps().getProperty(XexunProtocol.this.getName() + ".extended"))) {
+ if (Boolean.valueOf(Context.getProps().getProperty(getName() + ".extended"))) {
pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024)); // tracker bug \n\r
pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectDecoder", new Xexun2ProtocolDecoder(XexunProtocol.this));