aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/UproProtocolDecoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
index debb85365..2f88d803c 100644
--- a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
@@ -312,7 +312,8 @@ public class UproProtocolDecoder extends BaseProtocolDecoder {
break;
case 'd':
if (data.readableBytes() > 3) {
- position.set(Position.PREFIX_ADC + 1, Integer.parseInt(data.readSlice(5).toString(StandardCharsets.US_ASCII)) * 0.01);
+ position.set(Position.PREFIX_ADC + 1, Integer.parseInt(data.readSlice(5).
+ toString(StandardCharsets.US_ASCII)) * 0.01);
}
break;
default: