diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-15 03:04:55 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-15 03:04:55 +1300 |
commit | f76c78a68f249ddb45a2bbae11dd95dd6db743b6 (patch) | |
tree | 7b3f9ebc37aa006f24c48df052685d651f8da1b0 | |
parent | 197510809bd2b59f3d13a8f36626cec2dfe25cb6 (diff) | |
download | trackermap-server-f76c78a68f249ddb45a2bbae11dd95dd6db743b6.tar.gz trackermap-server-f76c78a68f249ddb45a2bbae11dd95dd6db743b6.tar.bz2 trackermap-server-f76c78a68f249ddb45a2bbae11dd95dd6db743b6.zip |
Fix style issues
-rw-r--r-- | src/org/traccar/BaseProtocolDecoder.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/traccar/BaseProtocolDecoder.java b/src/org/traccar/BaseProtocolDecoder.java index 5063174ce..8748a9be6 100644 --- a/src/org/traccar/BaseProtocolDecoder.java +++ b/src/org/traccar/BaseProtocolDecoder.java @@ -183,11 +183,13 @@ public abstract class BaseProtocolDecoder extends ExtendedObjectDecoder { } } if (position != null) { - Context.getConnectionManager().updateDevice(position.getDeviceId(), Device.STATUS_ONLINE, new Date()); + Context.getConnectionManager().updateDevice( + position.getDeviceId(), Device.STATUS_ONLINE, new Date()); } else { DeviceSession deviceSession = getDeviceSession(channel, remoteAddress); if (deviceSession != null) { - Context.getConnectionManager().updateDevice(deviceSession.getDeviceId(), Device.STATUS_ONLINE, new Date()); + Context.getConnectionManager().updateDevice( + deviceSession.getDeviceId(), Device.STATUS_ONLINE, new Date()); } } } |