diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-20 09:26:57 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-20 09:26:57 +0500 |
commit | 1ce8c1945e36acd56b7ceb87b900a0efa14e9ecd (patch) | |
tree | 878541247d4d6369f97a01d16e36dec167a14203 /src/org/traccar/reports/Trips.java | |
parent | 1c7437d6de01fffbe3f69853717808b1790413fd (diff) | |
download | trackermap-server-1ce8c1945e36acd56b7ceb87b900a0efa14e9ecd.tar.gz trackermap-server-1ce8c1945e36acd56b7ceb87b900a0efa14e9ecd.tar.bz2 trackermap-server-1ce8c1945e36acd56b7ceb87b900a0efa14e9ecd.zip |
- Renamed calculateFuel
- Used int in BigDecimal constructor
- Added extra space
Diffstat (limited to 'src/org/traccar/reports/Trips.java')
-rw-r--r-- | src/org/traccar/reports/Trips.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/reports/Trips.java b/src/org/traccar/reports/Trips.java index 068c47b8f..b661ffffa 100644 --- a/src/org/traccar/reports/Trips.java +++ b/src/org/traccar/reports/Trips.java @@ -65,7 +65,7 @@ public final class Trips { trip.setDuration(tripDuration); trip.setAverageSpeed(speedSum / (endIndex - startIndex)); trip.setMaxSpeed(speedMax); - trip.setSpentFuel(ReportUtils.calculateSpentFuel(startTrip, endTrip)); + trip.setSpentFuel(ReportUtils.calculateFuel(startTrip, endTrip)); return trip; } |