aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TopflytechProtocolDecoder.java
diff options
context:
space:
mode:
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
".*" +