aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Main.java
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-07-18 09:48:11 +0300
committerninioe <ninioe@gmail.com>2016-07-18 09:48:11 +0300
commit04627d7473e4ea21d6ecd950cbb3fdd6fa249429 (patch)
tree9fbc0e2ef3d33205e663f145db414c777769f7e1 /src/org/traccar/Main.java
parent21711400b18970d8852294e186b529a3f891a332 (diff)
downloadtrackermap-server-04627d7473e4ea21d6ecd950cbb3fdd6fa249429.tar.gz
trackermap-server-04627d7473e4ea21d6ecd950cbb3fdd6fa249429.tar.bz2
trackermap-server-04627d7473e4ea21d6ecd950cbb3fdd6fa249429.zip
commented out code and unnecessary comments
Diffstat (limited to 'src/org/traccar/Main.java')
-rw-r--r--src/org/traccar/Main.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/Main.java b/src/org/traccar/Main.java
index 0070904ab..45374ca15 100644
--- a/src/org/traccar/Main.java
+++ b/src/org/traccar/Main.java
@@ -21,8 +21,8 @@ import java.util.TimerTask;
import java.util.Locale;
public final class Main {
- static final long cleanDelay = 10*1000; //10 sec
- static final long cleanPeriod = 24*60*60*1000; //24 hr
+ static final long cleanDelay = 10*1000;
+ static final long cleanPeriod = 24*60*60*1000;
private Main() {
}
@@ -42,7 +42,6 @@ public final class Main {
timer.scheduleAtFixedRate(new TimerTask() {
@Override
public void run() {
- // Clean positions history
try {
Context.getDataManager().clearPositionsHistory();
} catch (Exception error) {