From bea7b241c4d29a7c7b49192ac1170ddeeb8bd90d Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Fri, 28 May 2021 04:30:54 +0200 Subject: Fix trailing spaces --- src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/traccar') 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); } -- cgit v1.2.3