diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-11-14 01:35:15 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-11-14 01:35:19 +1300 |
commit | e6e762c1c9416cf52421d0b26dbd38f2b70e2c3f (patch) | |
tree | eba707a88e762c20bc5be96c26703f7d5640c7d4 /src/org/traccar | |
parent | 0a8f30a572b1e64ff3e1d67281bf9fa3f40b9ccb (diff) | |
download | trackermap-server-e6e762c1c9416cf52421d0b26dbd38f2b70e2c3f.tar.gz trackermap-server-e6e762c1c9416cf52421d0b26dbd38f2b70e2c3f.tar.bz2 trackermap-server-e6e762c1c9416cf52421d0b26dbd38f2b70e2c3f.zip |
Fix typo in protocol name
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/Ivt401Protocol.java (renamed from src/org/traccar/protocol/Avt401Protocol.java) | 8 | ||||
-rw-r--r-- | src/org/traccar/protocol/Ivt401ProtocolDecoder.java (renamed from src/org/traccar/protocol/Avt401ProtocolDecoder.java) | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/org/traccar/protocol/Avt401Protocol.java b/src/org/traccar/protocol/Ivt401Protocol.java index e4a7e3df6..b58601ba1 100644 --- a/src/org/traccar/protocol/Avt401Protocol.java +++ b/src/org/traccar/protocol/Ivt401Protocol.java @@ -24,10 +24,10 @@ import org.traccar.TrackerServer; import java.util.List; -public class Avt401Protocol extends BaseProtocol { +public class Ivt401Protocol extends BaseProtocol { - public Avt401Protocol() { - super("avt401"); + public Ivt401Protocol() { + super("ivt401"); } @Override @@ -37,7 +37,7 @@ public class Avt401Protocol extends BaseProtocol { protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, ';')); pipeline.addLast("stringDecoder", new StringDecoder()); - pipeline.addLast("objectDecoder", new Avt401ProtocolDecoder(Avt401Protocol.this)); + pipeline.addLast("objectDecoder", new Ivt401ProtocolDecoder(Ivt401Protocol.this)); } }); } diff --git a/src/org/traccar/protocol/Avt401ProtocolDecoder.java b/src/org/traccar/protocol/Ivt401ProtocolDecoder.java index 5918b54a1..c42f9fcc0 100644 --- a/src/org/traccar/protocol/Avt401ProtocolDecoder.java +++ b/src/org/traccar/protocol/Ivt401ProtocolDecoder.java @@ -26,9 +26,9 @@ import org.traccar.model.Position; import java.net.SocketAddress; import java.util.regex.Pattern; -public class Avt401ProtocolDecoder extends BaseProtocolDecoder { +public class Ivt401ProtocolDecoder extends BaseProtocolDecoder { - public Avt401ProtocolDecoder(Avt401Protocol protocol) { + public Ivt401ProtocolDecoder(Ivt401Protocol protocol) { super(protocol); } |