From f76c78a68f249ddb45a2bbae11dd95dd6db743b6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 15 Dec 2016 03:04:55 +1300 Subject: Fix style issues --- src/org/traccar/BaseProtocolDecoder.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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()); } } } -- cgit v1.2.3