diff options
author | Abyss777 <abyss@fox5.ru> | 2017-08-15 15:15:49 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-08-15 15:15:49 +0500 |
commit | 60dea5494b10f52433166a8785edc12860679bc3 (patch) | |
tree | 949f8e181791599a6777cc0ec38551835f900638 /src/org | |
parent | f1ee1017d62ec0d1b6b1ca56c297537870f1d32b (diff) | |
download | trackermap-server-60dea5494b10f52433166a8785edc12860679bc3.tar.gz trackermap-server-60dea5494b10f52433166a8785edc12860679bc3.tar.bz2 trackermap-server-60dea5494b10f52433166a8785edc12860679bc3.zip |
Remove greadyParking
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/Context.java | 1 | ||||
-rw-r--r-- | src/org/traccar/reports/model/TripsConfig.java | 13 |
2 files changed, 1 insertions, 13 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index a69b1786d..0d2a05b7a 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -255,7 +255,6 @@ public final class Context { config.getLong("report.trip.minimalTripDistance", 500), config.getLong("report.trip.minimalTripDuration", 300) * 1000, config.getLong("report.trip.minimalParkingDuration", 300) * 1000, - config.getBoolean("report.trip.greedyParking"), config.getLong("report.trip.minimalNoDataDuration", 3600) * 1000); } diff --git a/src/org/traccar/reports/model/TripsConfig.java b/src/org/traccar/reports/model/TripsConfig.java index 7067781d7..4898c1389 100644 --- a/src/org/traccar/reports/model/TripsConfig.java +++ b/src/org/traccar/reports/model/TripsConfig.java @@ -22,11 +22,10 @@ public class TripsConfig { } public TripsConfig(double minimalTripDistance, long minimalTripDuration, - long minimalParkingDuration, boolean greedyParking, long minimalNoDataDuration) { + long minimalParkingDuration, long minimalNoDataDuration) { this.minimalTripDistance = minimalTripDistance; this.minimalTripDuration = minimalTripDuration; this.minimalParkingDuration = minimalParkingDuration; - this.greedyParking = greedyParking; this.minimalNoDataDuration = minimalNoDataDuration; } @@ -60,16 +59,6 @@ public class TripsConfig { this.minimalParkingDuration = minimalParkingDuration; } - private boolean greedyParking; - - public boolean getGreedyParking() { - return greedyParking; - } - - public void setGreedyParking(boolean greedyParking) { - this.greedyParking = greedyParking; - } - private long minimalNoDataDuration; public long getMinimalNoDataDuration() { |