aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/reports/ReportUtils.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-11 15:26:11 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-11 15:26:11 +0500
commit26db3ccc2ed5d43a0e791a29d5cc4afca192e4b7 (patch)
tree18c8460f1f9bd4632086228dabfa4c3084d69db1 /src/org/traccar/reports/ReportUtils.java
parent32a0fee0b092e488662ed29b7b7f1f303ae57e0f (diff)
downloadtrackermap-server-26db3ccc2ed5d43a0e791a29d5cc4afca192e4b7.tar.gz
trackermap-server-26db3ccc2ed5d43a0e791a29d5cc4afca192e4b7.tar.bz2
trackermap-server-26db3ccc2ed5d43a0e791a29d5cc4afca192e4b7.zip
Initialize tripsConfig ones in Context
Diffstat (limited to 'src/org/traccar/reports/ReportUtils.java')
-rw-r--r--src/org/traccar/reports/ReportUtils.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/org/traccar/reports/ReportUtils.java b/src/org/traccar/reports/ReportUtils.java
index e8db7e3b5..8c39bb9dc 100644
--- a/src/org/traccar/reports/ReportUtils.java
+++ b/src/org/traccar/reports/ReportUtils.java
@@ -155,15 +155,6 @@ public final class ReportUtils {
transformer.write();
}
- public static TripsConfig initTripsConfig() {
- return new TripsConfig(
- Context.getConfig().getLong("report.trip.minimalTripDistance", 500),
- Context.getConfig().getLong("report.trip.minimalTripDuration", 300) * 1000,
- Context.getConfig().getLong("report.trip.minimalParkingDuration", 300) * 1000,
- Context.getConfig().getBoolean("report.trip.greedyParking"),
- Context.getConfig().getLong("report.trip.minimalNoDataDuration", 3600) * 1000);
- }
-
private static TripReport calculateTrip(
ArrayList<Position> positions, int startIndex, int endIndex, boolean ignoreOdometer) {
Position startTrip = positions.get(startIndex);