aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
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);