aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-09 16:56:36 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-09 16:56:36 -0700
commit6bf82f7e29e78c9ef4eab22530749991f420b2aa (patch)
tree03c6d6803d6367220fc78d554f7bd990577d427a /src/main/java/org/traccar/protocol
parent80b3af98806f9e837f65e8074882a97b22d65427 (diff)
downloadtrackermap-server-6bf82f7e29e78c9ef4eab22530749991f420b2aa.tar.gz
trackermap-server-6bf82f7e29e78c9ef4eab22530749991f420b2aa.tar.bz2
trackermap-server-6bf82f7e29e78c9ef4eab22530749991f420b2aa.zip
Filter null unique ids
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/WialonProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java b/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java
index 8dd7aab24..3d57525b7 100644
--- a/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java
@@ -39,7 +39,7 @@ public class WialonProtocolDecoder extends BaseProtocolDecoder {
}
private static final Pattern PATTERN_ANY = new PatternBuilder()
- .expression("([^#]*)?") // imei
+ .expression("([^#]+)?") // imei
.text("#") // start byte
.expression("([^#]+)") // type
.text("#") // separator