aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-28 19:05:49 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-28 19:05:49 -0700
commitd97b02aa53f4fd76f0209baca5a08d010e3e8c1d (patch)
tree13be6f99e6d745fef9f2ce13e677270dac357429 /src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java
parentaf97c6217a97df354dae1be0c748824655dfba6e (diff)
downloadtrackermap-server-d97b02aa53f4fd76f0209baca5a08d010e3e8c1d.tar.gz
trackermap-server-d97b02aa53f4fd76f0209baca5a08d010e3e8c1d.tar.bz2
trackermap-server-d97b02aa53f4fd76f0209baca5a08d010e3e8c1d.zip
Fix reported code issues
Diffstat (limited to 'src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java4
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) {