diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-14 23:21:09 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-14 23:21:09 +1300 |
commit | aac29a8a4452b4977779e2ceb7285c17c6369691 (patch) | |
tree | a9e9461273a7f2ae93e85affdce1e7cf3f289c6d /src/org/traccar/protocol | |
parent | 82965326887d0867f8edf29e638630c2ee85423c (diff) | |
download | trackermap-server-aac29a8a4452b4977779e2ceb7285c17c6369691.tar.gz trackermap-server-aac29a8a4452b4977779e2ceb7285c17c6369691.tar.bz2 trackermap-server-aac29a8a4452b4977779e2ceb7285c17c6369691.zip |
Add TLT-2H unit test
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/Tlt2hProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java b/src/org/traccar/protocol/Tlt2hProtocolDecoder.java index 60f624dd6..531ae28b6 100644 --- a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java +++ b/src/org/traccar/protocol/Tlt2hProtocolDecoder.java @@ -60,7 +60,7 @@ public class Tlt2hProtocolDecoder extends BaseProtocolDecoder { // Get device identifier String imei = sentence.substring(1, sentence.indexOf('#', 1)); - long deviceId = 0; + long deviceId; try { deviceId = getDataManager().getDeviceByImei(imei).getId(); } catch(Exception error) { |