diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-27 12:01:43 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-27 12:01:43 +1200 |
commit | d560f0cfdbbe9639e681bfeedd25d4de845d6161 (patch) | |
tree | 3845758ede6bafb9ee8d5fc2bda37de446ae9f34 /src/org/traccar/protocol/BceProtocolDecoder.java | |
parent | 8e24c10cdc42fdece70d420b206bb6062edb589c (diff) | |
download | trackermap-server-d560f0cfdbbe9639e681bfeedd25d4de845d6161.tar.gz trackermap-server-d560f0cfdbbe9639e681bfeedd25d4de845d6161.tar.bz2 trackermap-server-d560f0cfdbbe9639e681bfeedd25d4de845d6161.zip |
Refactor model classes
Diffstat (limited to 'src/org/traccar/protocol/BceProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/BceProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/BceProtocolDecoder.java b/src/org/traccar/protocol/BceProtocolDecoder.java index 2f96ab317..ac8e257e3 100644 --- a/src/org/traccar/protocol/BceProtocolDecoder.java +++ b/src/org/traccar/protocol/BceProtocolDecoder.java @@ -136,7 +136,7 @@ public class BceProtocolDecoder extends BaseProtocolDecoder { buf.readUnsignedByte(); } - if (position.getValid() != null) { + if (checkBit(mask, 0)) { positions.add(position); } } |