diff options
Diffstat (limited to 'src/org/traccar/protocol/AplicomFrameDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/AplicomFrameDecoder.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/AplicomFrameDecoder.java b/src/org/traccar/protocol/AplicomFrameDecoder.java index 85fb5404c..8a896535c 100644 --- a/src/org/traccar/protocol/AplicomFrameDecoder.java +++ b/src/org/traccar/protocol/AplicomFrameDecoder.java @@ -21,13 +21,11 @@ import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.handler.codec.frame.FrameDecoder;
public class AplicomFrameDecoder extends FrameDecoder {
-
+
@Override
protected Object decode(
- ChannelHandlerContext ctx,
- Channel channel,
- ChannelBuffer buf) throws Exception {
-
+ ChannelHandlerContext ctx, Channel channel, ChannelBuffer buf) throws Exception {
+
// Check minimum length
if (buf.readableBytes() < 11) {
return null;
|