diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-04-28 19:05:49 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-04-28 19:05:49 -0700 |
commit | d97b02aa53f4fd76f0209baca5a08d010e3e8c1d (patch) | |
tree | 13be6f99e6d745fef9f2ce13e677270dac357429 /src/main/java/org/traccar/protocol | |
parent | af97c6217a97df354dae1be0c748824655dfba6e (diff) | |
download | traccar-server-d97b02aa53f4fd76f0209baca5a08d010e3e8c1d.tar.gz traccar-server-d97b02aa53f4fd76f0209baca5a08d010e3e8c1d.tar.bz2 traccar-server-d97b02aa53f4fd76f0209baca5a08d010e3e8c1d.zip |
Fix reported code issues
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r-- | src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |