From d97b02aa53f4fd76f0209baca5a08d010e3e8c1d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 28 Apr 2019 19:05:49 -0700 Subject: Fix reported code issues --- src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/org') diff --git a/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java b/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java index 2a1db2e32..a6fd94b83 100644 --- a/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java @@ -327,7 +327,7 @@ public class EelinkProtocolDecoder extends BaseProtocolDecoder { return position; } - private Position decodeObd(DeviceSession deviceSession, ByteBuf buf, int index) { + private Position decodeObd(DeviceSession deviceSession, ByteBuf buf) { Position position = new Position(getProtocolName()); position.setDeviceId(deviceSession.getDeviceId()); @@ -425,7 +425,7 @@ public class EelinkProtocolDecoder extends BaseProtocolDecoder { } else if (type == MSG_OBD) { - return decodeObd(deviceSession, buf, index); + return decodeObd(deviceSession, buf); } else if (type == MSG_DOWNLINK) { -- cgit v1.2.3