aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/reports/model
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-08 11:55:27 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-08 11:55:27 +0500
commit16771c045a3d6fdffad322e55b6d346c93a03f71 (patch)
tree0990e6387c8143e2da90cf3cc0e4b0184c9bc8b7 /src/org/traccar/reports/model
parent24346c8afd219c607e18306aa509f6029d3e850c (diff)
downloadtrackermap-server-16771c045a3d6fdffad322e55b6d346c93a03f71.tar.gz
trackermap-server-16771c045a3d6fdffad322e55b6d346c93a03f71.tar.bz2
trackermap-server-16771c045a3d6fdffad322e55b6d346c93a03f71.zip
- Used @Consumes and @Produces instead of direct header access
- Renamed General to Summary - Other changes
Diffstat (limited to 'src/org/traccar/reports/model')
-rw-r--r--src/org/traccar/reports/model/SummaryReport.java (renamed from src/org/traccar/reports/model/GeneralReport.java)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/reports/model/GeneralReport.java b/src/org/traccar/reports/model/SummaryReport.java
index f60bb7238..aed3915f1 100644
--- a/src/org/traccar/reports/model/GeneralReport.java
+++ b/src/org/traccar/reports/model/SummaryReport.java
@@ -1,6 +1,6 @@
package org.traccar.reports.model;
-public class GeneralReport {
+public class SummaryReport {
private String deviceName;
public String getDeviceName() {
@@ -10,7 +10,7 @@ public class GeneralReport {
this.deviceName = deviceName;
}
- private double distance = 0;
+ private double distance;
public double getDistance() {
return distance;
}
@@ -22,7 +22,7 @@ public class GeneralReport {
this.distance += distance;
}
- private double averageSpeed = 0;
+ private double averageSpeed;
public double getAverageSpeed() {
return averageSpeed;
}
@@ -30,7 +30,7 @@ public class GeneralReport {
this.averageSpeed = averageSpeed;
}
- private double maxSpeed = 0;
+ private double maxSpeed;
public double getMaxSpeed() {
return maxSpeed;
}