diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-04-17 00:43:48 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-04-17 00:43:48 -0700 |
commit | 385d0a34044065ab9d31ff793b8dfe6dc486f424 (patch) | |
tree | 938e1312e459c5b7704e72ceb50c9c42d29ceef0 /src/main/java/org/traccar/protocol/ItsFrameDecoder.java | |
parent | e336615dbed3f261dd2b42de475b5d1f2a63c6f9 (diff) | |
download | trackermap-server-385d0a34044065ab9d31ff793b8dfe6dc486f424.tar.gz trackermap-server-385d0a34044065ab9d31ff793b8dfe6dc486f424.tar.bz2 trackermap-server-385d0a34044065ab9d31ff793b8dfe6dc486f424.zip |
Fix lint issue
Diffstat (limited to 'src/main/java/org/traccar/protocol/ItsFrameDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/ItsFrameDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |