aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Xt2400ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-01-26 23:04:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-01-26 23:04:13 +1300
commit98f14df734f2772d65c28ab4364e37f16efabbad (patch)
tree595fb9584c9e6df4e2219c93fcd2700cdcb26362 /src/org/traccar/protocol/Xt2400ProtocolDecoder.java
parenta24a7d075ec26e36d26e6ffaec028d7893d07800 (diff)
downloadtrackermap-server-98f14df734f2772d65c28ab4364e37f16efabbad.tar.gz
trackermap-server-98f14df734f2772d65c28ab4364e37f16efabbad.tar.bz2
trackermap-server-98f14df734f2772d65c28ab4364e37f16efabbad.zip
Clean up some more code
Diffstat (limited to 'src/org/traccar/protocol/Xt2400ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Xt2400ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Xt2400ProtocolDecoder.java b/src/org/traccar/protocol/Xt2400ProtocolDecoder.java
index 98d639fc8..72be473c1 100644
--- a/src/org/traccar/protocol/Xt2400ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Xt2400ProtocolDecoder.java
@@ -119,7 +119,7 @@ public class Xt2400ProtocolDecoder extends BaseProtocolDecoder {
Position position = new Position(getProtocolName());
for (byte tag : format) {
- switch ((int) tag) {
+ switch (tag) {
case 0x03:
DeviceSession deviceSession = getDeviceSession(
channel, remoteAddress, String.valueOf(buf.readUnsignedInt()));