From 385d0a34044065ab9d31ff793b8dfe6dc486f424 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 17 Apr 2019 00:43:48 -0700 Subject: Fix lint issue --- src/main/java/org/traccar/protocol/ItsFrameDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/traccar/protocol') diff --git a/src/main/java/org/traccar/protocol/ItsFrameDecoder.java b/src/main/java/org/traccar/protocol/ItsFrameDecoder.java index eb2c59e91..b28d6e96f 100644 --- a/src/main/java/org/traccar/protocol/ItsFrameDecoder.java +++ b/src/main/java/org/traccar/protocol/ItsFrameDecoder.java @@ -30,7 +30,7 @@ public class ItsFrameDecoder extends BaseFrameDecoder { ChannelHandlerContext ctx, Channel channel, ByteBuf buf) throws Exception { ByteBuf frame; - int delimiterIndex = BufferUtil.indexOf("\r\n", buf);; + int delimiterIndex = BufferUtil.indexOf("\r\n", buf); if (delimiterIndex > MINIMUM_LENGTH) { frame = buf.readRetainedSlice(delimiterIndex - buf.readerIndex()); buf.skipBytes(2); -- cgit v1.2.3