aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjcardus <asklocation.net@gmail.com>2024-03-29 21:59:13 +0000
committerjcardus <asklocation.net@gmail.com>2024-03-29 21:59:13 +0000
commitb0b1257473b8895ba4e8b867442c13f5b7c048f7 (patch)
tree4906132e26d0eaa15b5d5bc7f53a1427d9e6c5f5 /src
parent078ddb342c7af83d22767224a7d5b7c7e8ab4fe7 (diff)
downloadtrackermap-server-b0b1257473b8895ba4e8b867442c13f5b7c048f7.tar.gz
trackermap-server-b0b1257473b8895ba4e8b867442c13f5b7c048f7.tar.bz2
trackermap-server-b0b1257473b8895ba4e8b867442c13f5b7c048f7.zip
fix identation
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java14
1 files 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;
}