diff options
author | Yuriy Piskarev <yuriy.piskarev@gmail.com> | 2023-08-31 00:00:52 +0300 |
---|---|---|
committer | Yuriy Piskarev <yuriy.piskarev@gmail.com> | 2023-08-31 00:00:52 +0300 |
commit | 987e2f9192ac3d0381235335b44f35ed83f78a3f (patch) | |
tree | b51ca5415262d08f76cd4c1cb22f7cff3e960497 /src/main | |
parent | b735b834755039ef54524db0f1de4484d17dec22 (diff) | |
download | trackermap-server-987e2f9192ac3d0381235335b44f35ed83f78a3f.tar.gz trackermap-server-987e2f9192ac3d0381235335b44f35ed83f78a3f.tar.bz2 trackermap-server-987e2f9192ac3d0381235335b44f35ed83f78a3f.zip |
correction:
- fix for checkstyle
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java b/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java index 406a0292c..2e857b212 100644 --- a/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java @@ -291,7 +291,8 @@ public class NavtelecomProtocolDecoder extends BaseProtocolDecoder { case 42: case 43: value = buf.readUnsignedShortLE(); - position.set(Position.KEY_FUEL_LEVEL + (j + 2 - 38), (value < 65500) ? value : null); + position.set( + Position.KEY_FUEL_LEVEL + (j + 2 - 38), (value < 65500) ? value : null); break; case 44: value = buf.readUnsignedShortLE(); |