aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar')
-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());