diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2021-05-28 04:30:54 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2021-05-28 04:30:54 +0200 |
commit | bea7b241c4d29a7c7b49192ac1170ddeeb8bd90d (patch) | |
tree | 9fb322dd3d256de4a18c3e82902f1e4c702dc251 /src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java | |
parent | cac617f6518ed5ad048cc9c57b80849c34650afa (diff) | |
download | trackermap-server-bea7b241c4d29a7c7b49192ac1170ddeeb8bd90d.tar.gz trackermap-server-bea7b241c4d29a7c7b49192ac1170ddeeb8bd90d.tar.bz2 trackermap-server-bea7b241c4d29a7c7b49192ac1170ddeeb8bd90d.zip |
Fix trailing spaces
Diffstat (limited to 'src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java b/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java index 82c616245..fae73d931 100644 --- a/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java @@ -355,7 +355,7 @@ public class MegastekProtocolDecoder extends BaseProtocolDecoder { } position.set(Position.KEY_DRIVER_UNIQUE_ID, parser.next()); - + if (parser.hasNext()) { position.set(Position.KEY_CHARGE, parser.nextInt() > 0); } |