aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TmgProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-11 12:34:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-11 12:34:38 +1300
commitb70eddfcda8262ec4bf76213d414ef55950478d0 (patch)
treec302957f3999fcf571c93a62778defcd403b5851 /src/org/traccar/protocol/TmgProtocolDecoder.java
parentc8fa36318702acc9ff54d3811e1f32c1035e85f3 (diff)
downloadtrackermap-server-b70eddfcda8262ec4bf76213d414ef55950478d0.tar.gz
trackermap-server-b70eddfcda8262ec4bf76213d414ef55950478d0.tar.bz2
trackermap-server-b70eddfcda8262ec4bf76213d414ef55950478d0.zip
Fix some code issues
Diffstat (limited to 'src/org/traccar/protocol/TmgProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TmgProtocolDecoder.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/TmgProtocolDecoder.java b/src/org/traccar/protocol/TmgProtocolDecoder.java
index 3a2af96fb..2f2dddf60 100644
--- a/src/org/traccar/protocol/TmgProtocolDecoder.java
+++ b/src/org/traccar/protocol/TmgProtocolDecoder.java
@@ -67,9 +67,6 @@ public class TmgProtocolDecoder extends BaseProtocolDecoder {
protected Object decode(
Channel channel, SocketAddress remoteAddress, Object msg) throws Exception {
- org.traccar.helper.PatternUtil.MatchResult matchResult =
- org.traccar.helper.PatternUtil.checkPattern(PATTERN.pattern(), (String) msg);
-
Parser parser = new Parser(PATTERN, (String) msg);
if (!parser.matches()) {
return null;