diff options
author | Sanjeewa Vithanage <vithanagevms@gmail.com> | 2024-01-29 12:11:02 +0200 |
---|---|---|
committer | Sanjeewa Vithanage <vithanagevms@gmail.com> | 2024-01-29 12:11:02 +0200 |
commit | 04a99c14fc2840f78e988d66c150807abae8bf79 (patch) | |
tree | d502c74f6c5d26019f077e8a81c9f8713eb2a1ba /src/main/java/org/traccar | |
parent | 2f49889aa496524b298f764e18f8016e74efab87 (diff) | |
download | trackermap-server-04a99c14fc2840f78e988d66c150807abae8bf79.tar.gz trackermap-server-04a99c14fc2840f78e988d66c150807abae8bf79.tar.bz2 trackermap-server-04a99c14fc2840f78e988d66c150807abae8bf79.zip |
fix styling
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/protocol/UproProtocolDecoder.java | 4 |
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; |