diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-03 15:19:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-03 15:19:02 +1200 |
commit | d389b11e8725a0db7d8a7a6d5e857c494e40a4dc (patch) | |
tree | 5c9003e4b2860e7c7323fb02a23dc84a39d3e83b /src/org/traccar/protocol | |
parent | 4b19601bea62bfcaf3d1d35b968c7cca70453dbd (diff) | |
download | traccar-server-d389b11e8725a0db7d8a7a6d5e857c494e40a4dc.tar.gz traccar-server-d389b11e8725a0db7d8a7a6d5e857c494e40a4dc.tar.bz2 traccar-server-d389b11e8725a0db7d8a7a6d5e857c494e40a4dc.zip |
Update Ulbotech decoder
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/UlbotechProtocolDecoder.java | 5 |
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; |