From 36cab2bf5414af9c7e23da19c0b0f91aba2e0cb6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 6 Aug 2019 08:53:37 -0700 Subject: Remove regex pattern --- src/main/java/org/traccar/protocol/TrvProtocolDecoder.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main') 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()) { -- cgit v1.2.3