From 5a2c64cd99134e98e311d694a76d3d22703496c2 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 9 Jun 2016 14:08:24 +1200 Subject: Fix check style code issues --- src/org/traccar/protocol/IdplProtocolDecoder.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/traccar/protocol/IdplProtocolDecoder.java b/src/org/traccar/protocol/IdplProtocolDecoder.java index 1824111b4..322a1e9fb 100644 --- a/src/org/traccar/protocol/IdplProtocolDecoder.java +++ b/src/org/traccar/protocol/IdplProtocolDecoder.java @@ -89,7 +89,7 @@ public class IdplProtocolDecoder extends BaseProtocolDecoder { position.setLongitude(parser.nextCoordinate(CoordinateFormat.DEG_MIN_MIN_HEM)); position.setSpeed(parser.nextDouble()); position.setCourse(parser.nextDouble()); - + position.set(Position.KEY_SATELLITES, parser.nextInt()); position.set(Position.KEY_GSM, parser.nextInt()); parser.next(); // vehicle status @@ -97,14 +97,14 @@ public class IdplProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_BATTERY, parser.nextDouble()); position.set(Position.KEY_ALARM, parser.nextInt()); parser.nextInt(); // body tamper - parser.nextInt(); // acStatus + parser.nextInt(); // ac status position.set(Position.KEY_IGNITION, parser.nextInt()); position.set(Position.KEY_OUTPUT, parser.nextInt()); position.set(Position.PREFIX_ADC + 1, parser.nextInt()); position.set(Position.PREFIX_ADC + 2, parser.nextInt()); position.set(Position.KEY_VERSION, parser.next()); position.set(Position.KEY_ARCHIVE, parser.next().equals("R")); - + parser.next(); // checksum return position; -- cgit v1.2.3