aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Goos <kevingoos@telenet.be>2018-03-21 10:48:20 +0100
committerKevin Goos <kevingoos@telenet.be>2018-03-21 10:48:20 +0100
commit277b14899879e882869552acc7847d63a03effcf (patch)
tree97147fdf4940fa15f08823e797257b6d2ba97de4
parentcd943017616c491509d354a0d95bea5ec161da94 (diff)
downloadtrackermap-server-277b14899879e882869552acc7847d63a03effcf.tar.gz
trackermap-server-277b14899879e882869552acc7847d63a03effcf.tar.bz2
trackermap-server-277b14899879e882869552acc7847d63a03effcf.zip
Fixed formatting
-rw-r--r--src/org/traccar/protocol/LaipacProtocolDecoder.java2
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());