diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-13 23:11:23 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-13 23:11:23 +1300 |
commit | 398b705820109c1103d915a2fec81fcf70b032cf (patch) | |
tree | 659a0483eda19f9c91855197b70fd2a0bfb82a60 /src/org/traccar/protocol/BceProtocolDecoder.java | |
parent | 2da5669f8bd3f734fa37626c892aebdff7268613 (diff) | |
download | trackermap-server-398b705820109c1103d915a2fec81fcf70b032cf.tar.gz trackermap-server-398b705820109c1103d915a2fec81fcf70b032cf.tar.bz2 trackermap-server-398b705820109c1103d915a2fec81fcf70b032cf.zip |
Fix some check style issues
Diffstat (limited to 'src/org/traccar/protocol/BceProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/BceProtocolDecoder.java | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/BceProtocolDecoder.java b/src/org/traccar/protocol/BceProtocolDecoder.java index c6f928aef..31e0868fd 100644 --- a/src/org/traccar/protocol/BceProtocolDecoder.java +++ b/src/org/traccar/protocol/BceProtocolDecoder.java @@ -113,10 +113,18 @@ public class BceProtocolDecoder extends BaseProtocolDecoder { } } - if (BitUtil.check(mask, 10)) buf.skipBytes(4); - if (BitUtil.check(mask, 11)) buf.skipBytes(4); - if (BitUtil.check(mask, 12)) buf.skipBytes(2); - if (BitUtil.check(mask, 13)) buf.skipBytes(2); + if (BitUtil.check(mask, 10)) { + buf.skipBytes(4); + } + if (BitUtil.check(mask, 11)) { + buf.skipBytes(4); + } + if (BitUtil.check(mask, 12)) { + buf.skipBytes(2); + } + if (BitUtil.check(mask, 13)) { + buf.skipBytes(2); + } if (BitUtil.check(mask, 14)) { position.set(Event.KEY_MCC, buf.readUnsignedShort()); |