aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorSanjeewa Vithanage <vithanagevms@gmail.com>2024-01-29 12:11:02 +0200
committerSanjeewa Vithanage <vithanagevms@gmail.com>2024-01-29 12:11:02 +0200
commit04a99c14fc2840f78e988d66c150807abae8bf79 (patch)
treed502c74f6c5d26019f077e8a81c9f8713eb2a1ba /src/main
parent2f49889aa496524b298f764e18f8016e74efab87 (diff)
downloadtrackermap-server-04a99c14fc2840f78e988d66c150807abae8bf79.tar.gz
trackermap-server-04a99c14fc2840f78e988d66c150807abae8bf79.tar.bz2
trackermap-server-04a99c14fc2840f78e988d66c150807abae8bf79.zip
fix styling
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/UproProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
index 1167f568c..915f5adfe 100644
--- a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
@@ -311,8 +311,8 @@ public class UproProtocolDecoder extends BaseProtocolDecoder {
}
break;
case 'd':
- position.set(Position.PREFIX_ADC + 1, Integer.parseInt(data.
- toString(StandardCharsets.US_ASCII))/100.0);
+ position.set(Position.PREFIX_ADC + 1,
+ (Integer.parseInt(data.toString(StandardCharsets.US_ASCII)) / 100.0));
break;
default:
break;