aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-01 18:41:40 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-01 18:41:40 +1300
commitbf57bcad19ff56a6c96b1436356fc30beabd3eeb (patch)
treefd07225df8a58befea685d1150ba8efc6b1658a2 /src/org
parent966082dc8f7068e74a439f98c4f668f63f37e35f (diff)
downloadtrackermap-server-bf57bcad19ff56a6c96b1436356fc30beabd3eeb.tar.gz
trackermap-server-bf57bcad19ff56a6c96b1436356fc30beabd3eeb.tar.bz2
trackermap-server-bf57bcad19ff56a6c96b1436356fc30beabd3eeb.zip
Rename T800X decoder classes
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/T800xProtocol.java5
-rw-r--r--src/org/traccar/protocol/T800xProtocolDecoder.java (renamed from src/org/traccar/protocol/T800XProtocolDecoder.java)4
2 files changed, 3 insertions, 6 deletions
diff --git a/src/org/traccar/protocol/T800xProtocol.java b/src/org/traccar/protocol/T800xProtocol.java
index 51cb64e8c..599123df2 100644
--- a/src/org/traccar/protocol/T800xProtocol.java
+++ b/src/org/traccar/protocol/T800xProtocol.java
@@ -17,9 +17,6 @@ package org.traccar.protocol;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.ChannelPipeline;
-import org.jboss.netty.handler.codec.frame.LineBasedFrameDecoder;
-import org.jboss.netty.handler.codec.string.StringDecoder;
-import org.jboss.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
import org.traccar.TrackerServer;
@@ -36,7 +33,7 @@ public class T800xProtocol extends BaseProtocol {
serverList.add(new TrackerServer(new ServerBootstrap(), getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("objectDecoder", new T800XProtocolDecoder(T800xProtocol.this));
+ pipeline.addLast("objectDecoder", new T800xProtocolDecoder(T800xProtocol.this));
}
});
}
diff --git a/src/org/traccar/protocol/T800XProtocolDecoder.java b/src/org/traccar/protocol/T800xProtocolDecoder.java
index c42b16f39..654d52eda 100644
--- a/src/org/traccar/protocol/T800XProtocolDecoder.java
+++ b/src/org/traccar/protocol/T800xProtocolDecoder.java
@@ -15,9 +15,9 @@ import java.net.SocketAddress;
import java.text.SimpleDateFormat;
import java.util.*;
-public class T800XProtocolDecoder extends BaseProtocolDecoder {
+public class T800xProtocolDecoder extends BaseProtocolDecoder {
- public T800XProtocolDecoder(T800xProtocol protocol) {
+ public T800xProtocolDecoder(T800xProtocol protocol) {
super(protocol);
}