aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/UlbotechProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 15:19:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 15:19:02 +1200
commitd389b11e8725a0db7d8a7a6d5e857c494e40a4dc (patch)
tree5c9003e4b2860e7c7323fb02a23dc84a39d3e83b /src/org/traccar/protocol/UlbotechProtocolDecoder.java
parent4b19601bea62bfcaf3d1d35b968c7cca70453dbd (diff)
downloadtrackermap-server-d389b11e8725a0db7d8a7a6d5e857c494e40a4dc.tar.gz
trackermap-server-d389b11e8725a0db7d8a7a6d5e857c494e40a4dc.tar.bz2
trackermap-server-d389b11e8725a0db7d8a7a6d5e857c494e40a4dc.zip
Update Ulbotech decoder
Diffstat (limited to 'src/org/traccar/protocol/UlbotechProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/UlbotechProtocolDecoder.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/UlbotechProtocolDecoder.java b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
index a94da7be7..f2cedf31e 100644
--- a/src/org/traccar/protocol/UlbotechProtocolDecoder.java
+++ b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
@@ -32,10 +32,7 @@ public class UlbotechProtocolDecoder extends BaseProtocolDecoder {
public UlbotechProtocolDecoder(UlbotechProtocol protocol) {
super(protocol);
-
- if (Context.getConfig().hasKey(protocol + ".timezone")) {
- timeZone = Context.getConfig().getInteger(protocol + ".timezone");
- }
+ timeZone = Context.getConfig().getInteger(protocol + ".timezone", 0);
}
private static final short DATA_GPS = 0x01;