aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/FlextrackProtocolDecoder.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/FlextrackProtocolDecoder.java b/src/org/traccar/protocol/FlextrackProtocolDecoder.java
index e55324db4..0622cbc3a 100644
--- a/src/org/traccar/protocol/FlextrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/FlextrackProtocolDecoder.java
@@ -77,12 +77,10 @@ public class FlextrackProtocolDecoder extends BaseProtocolDecoder {
String sentence = (String) msg;
- String x = PatternUtil.checkPattern(pattern.pattern(), sentence);
-
if (sentence.contains("LOGON")) {
Matcher parser = patternLogon.matcher(sentence);
- if (parser.matches()) {
+ if (!parser.matches()) {
return null;
}