diff options
author | Kevin Goos <kevingoos@telenet.be> | 2018-03-21 10:48:20 +0100 |
---|---|---|
committer | Kevin Goos <kevingoos@telenet.be> | 2018-03-21 10:48:20 +0100 |
commit | 277b14899879e882869552acc7847d63a03effcf (patch) | |
tree | 97147fdf4940fa15f08823e797257b6d2ba97de4 /src/org/traccar | |
parent | cd943017616c491509d354a0d95bea5ec161da94 (diff) | |
download | trackermap-server-277b14899879e882869552acc7847d63a03effcf.tar.gz trackermap-server-277b14899879e882869552acc7847d63a03effcf.tar.bz2 trackermap-server-277b14899879e882869552acc7847d63a03effcf.zip |
Fixed formatting
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/LaipacProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/LaipacProtocolDecoder.java b/src/org/traccar/protocol/LaipacProtocolDecoder.java index a204f19bc..9357123c8 100644 --- a/src/org/traccar/protocol/LaipacProtocolDecoder.java +++ b/src/org/traccar/protocol/LaipacProtocolDecoder.java @@ -106,7 +106,7 @@ public class LaipacProtocolDecoder extends BaseProtocolDecoder { 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()); |