aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-01-29 06:48:30 -0800
committerAnton Tananaev <anton@traccar.org>2024-01-29 06:48:30 -0800
commit7726ea879700329b62700528ad495f4f1c515dd0 (patch)
treefee5f30399aae022d6c3435ea52104ac92228595 /src/main
parent0968c7a10f1eb78b87fdc96ae7f5a7c3b7524e12 (diff)
downloadtrackermap-server-7726ea879700329b62700528ad495f4f1c515dd0.tar.gz
trackermap-server-7726ea879700329b62700528ad495f4f1c515dd0.tar.bz2
trackermap-server-7726ea879700329b62700528ad495f4f1c515dd0.zip
Remove unnecessary brackets
Diffstat (limited to 'src/main')
-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;