aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/traccar/protocol/UproProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
index 915f5adfe..8d2e5de0a 100644
--- a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
@@ -312,7 +312,7 @@ public class UproProtocolDecoder extends BaseProtocolDecoder {
break;
case 'd':
position.set(Position.PREFIX_ADC + 1,
- (Integer.parseInt(data.toString(StandardCharsets.US_ASCII)) / 100.0));
+ Integer.parseInt(data.toString(StandardCharsets.US_ASCII)) / 100.0);
break;
default:
break;