aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/EskyProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-21 01:15:46 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-21 01:15:46 +1200
commit9fb1f19aab9e4535c1c208fdd3dc0e986940b160 (patch)
treec10454ce4180a2d5999ea587c90bdd9ff8d66229 /src/org/traccar/protocol/EskyProtocolDecoder.java
parent901bcf5da82eb7d1370856ceb732397e8ef4c670 (diff)
downloadtrackermap-server-9fb1f19aab9e4535c1c208fdd3dc0e986940b160.tar.gz
trackermap-server-9fb1f19aab9e4535c1c208fdd3dc0e986940b160.tar.bz2
trackermap-server-9fb1f19aab9e4535c1c208fdd3dc0e986940b160.zip
Prevent PatternUtil in production
Diffstat (limited to 'src/org/traccar/protocol/EskyProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/EskyProtocolDecoder.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/EskyProtocolDecoder.java b/src/org/traccar/protocol/EskyProtocolDecoder.java
index c12753881..0d3dcafb2 100644
--- a/src/org/traccar/protocol/EskyProtocolDecoder.java
+++ b/src/org/traccar/protocol/EskyProtocolDecoder.java
@@ -55,9 +55,6 @@ public class EskyProtocolDecoder 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;