diff options
Diffstat (limited to 'src/org/traccar/protocol/Mta6ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Mta6ProtocolDecoder.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/Mta6ProtocolDecoder.java b/src/org/traccar/protocol/Mta6ProtocolDecoder.java index c5af48abc..c23063e4d 100644 --- a/src/org/traccar/protocol/Mta6ProtocolDecoder.java +++ b/src/org/traccar/protocol/Mta6ProtocolDecoder.java @@ -33,7 +33,6 @@ import org.jboss.netty.handler.codec.http.HttpVersion; import org.traccar.BaseProtocolDecoder; import org.traccar.Protocol; import org.traccar.helper.BitUtil; -import org.traccar.helper.ChannelBufferTools; import org.traccar.helper.Log; import org.traccar.model.Event; import org.traccar.model.Position; @@ -286,9 +285,7 @@ public class Mta6ProtocolDecoder extends BaseProtocolDecoder { throws Exception { HttpRequest request = (HttpRequest) msg; - ChannelBuffer buf = request.getContent(); - int length = buf.readableBytes(); // Read identifier buf.skipBytes("id=".length()); |