aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Maintenance.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-04-13 12:21:05 +0500
committerAbyss777 <abyss@fox5.ru>2018-04-13 12:21:05 +0500
commit30ae3d104e9b0446364ebc316dc10d0f811e1480 (patch)
treeb1e0a223e4cb68c5869fcb5cec9b13e893e749da /src/org/traccar/model/Maintenance.java
parent87de21e95c34936e7d7635c3dd8c07f6221f46eb (diff)
downloadtrackermap-server-30ae3d104e9b0446364ebc316dc10d0f811e1480.tar.gz
trackermap-server-30ae3d104e9b0446364ebc316dc10d0f811e1480.tar.bz2
trackermap-server-30ae3d104e9b0446364ebc316dc10d0f811e1480.zip
- Rename field to Period
- Remove unnecessary check for null - Move MaintenanceManager initialization with other event related managers
Diffstat (limited to 'src/org/traccar/model/Maintenance.java')
-rw-r--r--src/org/traccar/model/Maintenance.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/model/Maintenance.java b/src/org/traccar/model/Maintenance.java
index 82052e160..73f67ea96 100644
--- a/src/org/traccar/model/Maintenance.java
+++ b/src/org/traccar/model/Maintenance.java
@@ -48,14 +48,14 @@ public class Maintenance extends ExtendedModel {
this.start = start;
}
- private double lapse;
+ private double period;
- public double getLapse() {
- return lapse;
+ public double getPeriod() {
+ return period;
}
- public void setLapse(double lapse) {
- this.lapse = lapse;
+ public void setPeriod(double period) {
+ this.period = period;
}
}