aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TopflytechProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-29 22:04:58 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-29 22:04:58 +1200
commit2cb4c8c48fc01b7fadccbedecafe672853b22639 (patch)
treeae0e558b6bbe19bbdd3e19dbd808309ff164cdf3 /src/org/traccar/protocol/TopflytechProtocolDecoder.java
parent26fb8427ce8465cd3560f9357eb7ae1920bdcbd2 (diff)
downloadtrackermap-server-2cb4c8c48fc01b7fadccbedecafe672853b22639.tar.gz
trackermap-server-2cb4c8c48fc01b7fadccbedecafe672853b22639.tar.bz2
trackermap-server-2cb4c8c48fc01b7fadccbedecafe672853b22639.zip
Fix device id issues
Diffstat (limited to 'src/org/traccar/protocol/TopflytechProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TopflytechProtocolDecoder.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/TopflytechProtocolDecoder.java b/src/org/traccar/protocol/TopflytechProtocolDecoder.java
index 0d97f112a..b0edb0276 100644
--- a/src/org/traccar/protocol/TopflytechProtocolDecoder.java
+++ b/src/org/traccar/protocol/TopflytechProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2013 - 2015 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,13 +28,11 @@ import org.traccar.model.Position;
public class TopflytechProtocolDecoder extends BaseProtocolDecoder {
- private Long deviceId;
-
public TopflytechProtocolDecoder(String protocol) {
super(protocol);
}
- static private Pattern pattern = Pattern.compile(
+ static private final Pattern pattern = Pattern.compile(
"\\(" +
"(\\d+)" + // IMEI
".*" +