From d389b11e8725a0db7d8a7a6d5e857c494e40a4dc Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 3 Aug 2015 15:19:02 +1200 Subject: Update Ulbotech decoder --- src/org/traccar/protocol/UlbotechProtocolDecoder.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/org/traccar') 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; -- cgit v1.2.3