aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-15 03:04:55 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-15 03:04:55 +1300
commitf76c78a68f249ddb45a2bbae11dd95dd6db743b6 (patch)
tree7b3f9ebc37aa006f24c48df052685d651f8da1b0
parent197510809bd2b59f3d13a8f36626cec2dfe25cb6 (diff)
downloadtraccar-server-f76c78a68f249ddb45a2bbae11dd95dd6db743b6.tar.gz
traccar-server-f76c78a68f249ddb45a2bbae11dd95dd6db743b6.tar.bz2
traccar-server-f76c78a68f249ddb45a2bbae11dd95dd6db743b6.zip
Fix style issues
-rw-r--r--src/org/traccar/BaseProtocolDecoder.java6
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());
}
}
}