diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-13 13:55:44 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-13 13:55:44 +1300 |
commit | 32d3fe2239886c4b75c93fcb344721113104ebec (patch) | |
tree | fb23ad5fcc7d47cccf313c736bdaf9332bdabdcd /src/org/traccar/protocol/UlbotechProtocolDecoder.java | |
parent | f49790953e6f9c3f9aa88564caf72a3bf002a801 (diff) | |
download | trackermap-server-32d3fe2239886c4b75c93fcb344721113104ebec.tar.gz trackermap-server-32d3fe2239886c4b75c93fcb344721113104ebec.tar.bz2 trackermap-server-32d3fe2239886c4b75c93fcb344721113104ebec.zip |
Fix some more style issues
Diffstat (limited to 'src/org/traccar/protocol/UlbotechProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/UlbotechProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/UlbotechProtocolDecoder.java b/src/org/traccar/protocol/UlbotechProtocolDecoder.java index 6c332102d..a33077e5f 100644 --- a/src/org/traccar/protocol/UlbotechProtocolDecoder.java +++ b/src/org/traccar/protocol/UlbotechProtocolDecoder.java @@ -77,8 +77,8 @@ public class UlbotechProtocolDecoder extends BaseProtocolDecoder { position.setDeviceId(getDeviceId()); // Time - long seconds = buf.readUnsignedInt() & 0x7fffffffl; - seconds += 946684800l; // 2000-01-01 00:00 + long seconds = buf.readUnsignedInt() & 0x7fffffffL; + seconds += 946684800L; // 2000-01-01 00:00 seconds -= timeZone; position.setTime(new Date(seconds * 1000)); |