aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-27 14:43:05 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-27 14:43:05 +1300
commit6eab101b0070cf5af8fd9e177a2a3ba40e5e836c (patch)
tree115ae93fb8a2f5c65e512f67172b8165e8ea0b39
parentdcf55c4f291c441b5e9921ec5b25ec8d3414140d (diff)
downloadtrackermap-server-6eab101b0070cf5af8fd9e177a2a3ba40e5e836c.tar.gz
trackermap-server-6eab101b0070cf5af8fd9e177a2a3ba40e5e836c.tar.bz2
trackermap-server-6eab101b0070cf5af8fd9e177a2a3ba40e5e836c.zip
Remove unused imports and variable
-rw-r--r--src/org/traccar/protocol/H02ProtocolDecoder.java2
-rw-r--r--src/org/traccar/protocol/TytanProtocolDecoder.java2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/H02ProtocolDecoder.java b/src/org/traccar/protocol/H02ProtocolDecoder.java
index ff3ee169e..b941e332d 100644
--- a/src/org/traccar/protocol/H02ProtocolDecoder.java
+++ b/src/org/traccar/protocol/H02ProtocolDecoder.java
@@ -144,8 +144,6 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder {
private Position decodeText(String sentence, Channel channel) {
- String x = PatternUtil.checkPattern(PATTERN.pattern(), sentence);
-
Parser parser = new Parser(PATTERN, sentence);
if (!parser.matches()) {
return null;
diff --git a/src/org/traccar/protocol/TytanProtocolDecoder.java b/src/org/traccar/protocol/TytanProtocolDecoder.java
index 4cc84d2c3..40861bacb 100644
--- a/src/org/traccar/protocol/TytanProtocolDecoder.java
+++ b/src/org/traccar/protocol/TytanProtocolDecoder.java
@@ -18,10 +18,8 @@ package org.traccar.protocol;
import java.net.SocketAddress;
import java.nio.charset.Charset;
import java.util.Date;
-import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
-import java.util.Set;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;