From a89f81445f69ae3e1926c65f65e947ba9fc98455 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 31 Jan 2021 23:51:43 -0800 Subject: Remove unused code --- src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/org/traccar/protocol') diff --git a/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java index 7b0eed943..3ad70bdca 100644 --- a/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java @@ -128,7 +128,7 @@ public class HuaShengProtocolDecoder extends BaseProtocolDecoder { } else if (type == MSG_UPFAULT) { - return decodeFaultCodes(channel, remoteAddress, buf, index); + return decodeFaultCodes(channel, remoteAddress, buf); } else if (type == MSG_POSITION) { @@ -140,7 +140,7 @@ public class HuaShengProtocolDecoder extends BaseProtocolDecoder { } private Position decodeFaultCodes( - Channel channel, SocketAddress remoteAddress, ByteBuf buf, int index) { + Channel channel, SocketAddress remoteAddress, ByteBuf buf) { DeviceSession deviceSession = getDeviceSession(channel, remoteAddress); if (deviceSession == null) { -- cgit v1.2.3