diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-04 13:58:50 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-04 13:58:50 +1300 |
commit | 7a80a011789dced9db2c6cdc65cb327d87a6d2b1 (patch) | |
tree | 5a3c4dd7ef7976fd4ed5add55afebb7e412da8e8 /src/org/traccar/protocol/Mta6ProtocolDecoder.java | |
parent | fcfd745a4e234c2f8c0364bbc462460bc20da8e2 (diff) | |
download | trackermap-server-7a80a011789dced9db2c6cdc65cb327d87a6d2b1.tar.gz trackermap-server-7a80a011789dced9db2c6cdc65cb327d87a6d2b1.tar.bz2 trackermap-server-7a80a011789dced9db2c6cdc65cb327d87a6d2b1.zip |
Fix some PMD reported bugs
Diffstat (limited to 'src/org/traccar/protocol/Mta6ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Mta6ProtocolDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/Mta6ProtocolDecoder.java b/src/org/traccar/protocol/Mta6ProtocolDecoder.java index 4fb7d0ecd..8827393dc 100644 --- a/src/org/traccar/protocol/Mta6ProtocolDecoder.java +++ b/src/org/traccar/protocol/Mta6ProtocolDecoder.java @@ -15,8 +15,8 @@ */ package org.traccar.protocol; -import java.nio.charset.Charset; import java.net.SocketAddress; +import java.nio.charset.Charset; import java.util.Calendar; import java.util.Date; import java.util.LinkedList; @@ -31,8 +31,8 @@ import org.jboss.netty.handler.codec.http.HttpResponse; import org.jboss.netty.handler.codec.http.HttpResponseStatus; import org.jboss.netty.handler.codec.http.HttpVersion; import org.traccar.BaseProtocolDecoder; -import org.traccar.helper.BitUtil; import org.traccar.Protocol; +import org.traccar.helper.BitUtil; import org.traccar.helper.ChannelBufferTools; import org.traccar.model.Event; import org.traccar.model.Position; @@ -301,7 +301,7 @@ public class Mta6ProtocolDecoder extends BaseProtocolDecoder { short offset = buf.readUnsignedByte(); // dataOffset short packetCount = buf.readUnsignedByte(); buf.readUnsignedByte(); // reserved - short parameters = buf.readUnsignedByte(); // TODO: handle timezone + buf.readUnsignedByte(); // TODO: handle timezone buf.skipBytes(offset - 5); // Send response |