diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-01-26 23:04:13 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-01-26 23:04:13 +1300 |
commit | 98f14df734f2772d65c28ab4364e37f16efabbad (patch) | |
tree | 595fb9584c9e6df4e2219c93fcd2700cdcb26362 /src/org/traccar/protocol/Xt2400ProtocolDecoder.java | |
parent | a24a7d075ec26e36d26e6ffaec028d7893d07800 (diff) | |
download | trackermap-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.java | 2 |
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())); |