aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authoranton2920 <anton2920@gmail.com>2022-09-05 12:19:23 +0100
committeranton2920 <anton2920@gmail.com>2022-09-07 09:48:46 +0100
commit24cb3a2faaa1fba33983e4e942af8d0c35df5802 (patch)
treed8b457e9525cb0db5652e667ec679e6ff5bf2604 /src/main
parent37976d783941a0ccf3a5a6bf9a24316515217629 (diff)
downloadtrackermap-server-24cb3a2faaa1fba33983e4e942af8d0c35df5802.tar.gz
trackermap-server-24cb3a2faaa1fba33983e4e942af8d0c35df5802.tar.bz2
trackermap-server-24cb3a2faaa1fba33983e4e942af8d0c35df5802.zip
Removed extra lines
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/G1rusProtocolDecoder.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/G1rusProtocolDecoder.java b/src/main/java/org/traccar/protocol/G1rusProtocolDecoder.java
index 6d4ae9d1f..056fc2d4d 100644
--- a/src/main/java/org/traccar/protocol/G1rusProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/G1rusProtocolDecoder.java
@@ -1,6 +1,5 @@
package org.traccar.protocol;
-import com.google.common.primitives.Doubles;
import com.google.common.primitives.Ints;
import com.google.common.primitives.Longs;
import com.google.common.primitives.Shorts;
@@ -329,7 +328,6 @@ public class G1rusProtocolDecoder extends BaseProtocolDecoder {
}
skipBytesUnescaped(buf, 2); /* CRC */ /* TODO: actually check it */
- // skipBytesUnescaped(buf, 1); /* Tail */
short tail = buf.readUnsignedByte();
if (tail == G1RUS_HEAD_TAIL) {
LOGGER.info("Tail: OK");