aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-08-06 08:53:37 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-08-06 08:53:37 -0700
commit36cab2bf5414af9c7e23da19c0b0f91aba2e0cb6 (patch)
tree2a04eeb6a30e0e5decbe97fa82ef0b571da14dbd
parent0a2f7b1f70329362d76c5c9d446bfdcd314cf7ec (diff)
downloadtraccar-server-36cab2bf5414af9c7e23da19c0b0f91aba2e0cb6.tar.gz
traccar-server-36cab2bf5414af9c7e23da19c0b0f91aba2e0cb6.tar.bz2
traccar-server-36cab2bf5414af9c7e23da19c0b0f91aba2e0cb6.zip
Remove regex pattern
-rw-r--r--src/main/java/org/traccar/protocol/TrvProtocolDecoder.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java b/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java
index eca9aca66..05312b820 100644
--- a/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java
@@ -184,8 +184,6 @@ public class TrvProtocolDecoder extends BaseProtocolDecoder {
return position;
} else if (type.equals("AP01") || type.equals("AP10") || type.equals("YP03")) {
- org.traccar.helper.PatternUtil.MatchResult matchResult =
- org.traccar.helper.PatternUtil.checkPattern(PATTERN.pattern(), (String) msg);
Parser parser = new Parser(PATTERN, sentence);
if (!parser.matches()) {