aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-07-19 15:53:13 +0300
committerninioe <ninioe@gmail.com>2016-07-19 15:53:13 +0300
commitb6f3291589d950e1a91a8b8491e8bea59e7259bd (patch)
treeccaa2896fa610c69290f24e05dc7401fc2487daa /src/org/traccar/database/DataManager.java
parent20f603076210073e122c720e21a3e8999478b11a (diff)
downloadtrackermap-server-b6f3291589d950e1a91a8b8491e8bea59e7259bd.tar.gz
trackermap-server-b6f3291589d950e1a91a8b8491e8bea59e7259bd.tar.bz2
trackermap-server-b6f3291589d950e1a91a8b8491e8bea59e7259bd.zip
automated check fix
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r--src/org/traccar/database/DataManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 3c8529eff..691c31643 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -411,7 +411,7 @@ public class DataManager {
for (Device device : getAllDevices()) {
Date lastUpdate = device.getLastUpdate();
- if(lastUpdate != null){
+ if (lastUpdate != null) {
Date dateBefore = new Date(lastUpdate.getTime() - histDays * 24 * 3600 * 1000);