From b0b1257473b8895ba4e8b867442c13f5b7c048f7 Mon Sep 17 00:00:00 2001 From: jcardus Date: Fri, 29 Mar 2024 21:59:13 +0000 Subject: fix identation --- .../org/traccar/protocol/Gl200TextProtocolDecoder.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java index e30fafcaf..bf8644033 100644 --- a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java @@ -108,13 +108,13 @@ public class Gl200TextProtocolDecoder extends BaseProtocolDecoder { } private Position initPosition(Parser parser, Channel channel, SocketAddress remoteAddress) { -if (parser.matches()) { - DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, parser.next()); - if (deviceSession != null) { - Position position = new Position(getProtocolName()); - position.setDeviceId(deviceSession.getDeviceId()); - return position; -} + if (parser.matches()) { + DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, parser.next()); + if (deviceSession != null) { + Position position = new Position(getProtocolName()); + position.setDeviceId(deviceSession.getDeviceId()); + return position; + } } return null; } -- cgit v1.2.3