aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-19 21:32:51 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-19 21:32:51 -0700
commit827f9e2960f7b9e2a47b9794458621cb40426492 (patch)
tree522616203ea6ce38d227e96c3b2df91041f5f76f
parent894fdf7a4588d9e8de522feac60817ea362d7475 (diff)
downloadtraccar-server-827f9e2960f7b9e2a47b9794458621cb40426492.tar.gz
traccar-server-827f9e2960f7b9e2a47b9794458621cb40426492.tar.bz2
traccar-server-827f9e2960f7b9e2a47b9794458621cb40426492.zip
Remove duplicated response
-rw-r--r--src/main/java/org/traccar/protocol/ItsProtocolDecoder.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java b/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
index 1ab76fa52..a7e9200f1 100644
--- a/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
@@ -154,10 +154,6 @@ public class ItsProtocolDecoder extends BaseProtocolDecoder {
}
}
- if (channel != null && sentence.startsWith("$,01,")) {
- channel.writeAndFlush(new NetworkMessage("$,1,*", remoteAddress));
- }
-
Parser parser = new Parser(PATTERN, sentence);
if (!parser.matches()) {
return null;