aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-19 12:22:04 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-19 12:22:04 +1300
commit66f6f48f00f01600afb13395c8b8c1fe95254201 (patch)
tree3228c552d5bf52b77251929d95ad66b5fb6601be /src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
parent43814126839b863ac73452d395a0ec5e0d817d46 (diff)
downloadtrackermap-server-66f6f48f00f01600afb13395c8b8c1fe95254201.tar.gz
trackermap-server-66f6f48f00f01600afb13395c8b8c1fe95254201.tar.bz2
trackermap-server-66f6f48f00f01600afb13395c8b8c1fe95254201.zip
Fix more check style issues
Diffstat (limited to 'src/org/traccar/protocol/AutoFon45ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/AutoFon45ProtocolDecoder.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java b/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
index 8df23f27f..53361c4ed 100644
--- a/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
+++ b/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
@@ -107,8 +107,10 @@ public class AutoFon45ProtocolDecoder extends BaseProtocolDecoder {
position.setTime(time.getTime());
// Location
- position.setLatitude(convertCoordinate(buf.readUnsignedByte(), buf.readUnsignedByte() << 16 | buf.readUnsignedByte() << 8 | buf.readUnsignedByte()));
- position.setLongitude(convertCoordinate(buf.readUnsignedByte(), buf.readUnsignedByte() << 16 | buf.readUnsignedByte() << 8 | buf.readUnsignedByte()));
+ position.setLatitude(convertCoordinate(buf.readUnsignedByte(),
+ buf.readUnsignedByte() << 16 | buf.readUnsignedByte() << 8 | buf.readUnsignedByte()));
+ position.setLongitude(convertCoordinate(buf.readUnsignedByte(),
+ buf.readUnsignedByte() << 16 | buf.readUnsignedByte() << 8 | buf.readUnsignedByte()));
position.setSpeed(buf.readUnsignedByte());
position.setCourse(buf.readUnsignedByte() << 8 | buf.readUnsignedByte());