Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingoos committed Mar 21, 2018
1 parent cd94301 commit 277b148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/traccar/protocol/LaipacProtocolDecoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected Object decode(
position.set(Position.KEY_EVENT, eventCode);

String batteryVoltage = parser.next();
batteryVoltage = batteryVoltage.replaceAll("\\.","");
batteryVoltage = batteryVoltage.replaceAll("\\.", "");
position.set(Position.KEY_BATTERY, Double.parseDouble(batteryVoltage) * 0.001);

position.set(Position.KEY_ODOMETER, parser.nextDouble());
Expand Down

0 comments on commit 277b148

Please sign in to comment.