diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-06 14:23:35 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-06 14:23:35 -0700 |
commit | 87e9932ff6eec10dec78300cd9fb2532d1bfa538 (patch) | |
tree | 6a178241d476cb96386f1590b5acf9490b6b654f /src/main/java/org/traccar/reports/model | |
parent | aefc503d5fe01b7ec92bd4af7a57c45bc922aaa1 (diff) | |
download | trackermap-server-87e9932ff6eec10dec78300cd9fb2532d1bfa538.tar.gz trackermap-server-87e9932ff6eec10dec78300cd9fb2532d1bfa538.tar.bz2 trackermap-server-87e9932ff6eec10dec78300cd9fb2532d1bfa538.zip |
Remove legacy code
Diffstat (limited to 'src/main/java/org/traccar/reports/model')
-rw-r--r-- | src/main/java/org/traccar/reports/model/StopReport.java | 6 | ||||
-rw-r--r-- | src/main/java/org/traccar/reports/model/SummaryReport.java | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/src/main/java/org/traccar/reports/model/StopReport.java b/src/main/java/org/traccar/reports/model/StopReport.java index 245292b63..fd8fa9335 100644 --- a/src/main/java/org/traccar/reports/model/StopReport.java +++ b/src/main/java/org/traccar/reports/model/StopReport.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Anton Tananaev (anton@traccar.org) + * Copyright 2017 - 2020 Anton Tananaev (anton@traccar.org) * Copyright 2017 Andrey Kunitsyn (andrey@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -99,8 +99,4 @@ public class StopReport extends BaseReport { public void setEngineHours(long engineHours) { this.engineHours = engineHours; } - - public void addEngineHours(long engineHours) { - this.engineHours += engineHours; - } } diff --git a/src/main/java/org/traccar/reports/model/SummaryReport.java b/src/main/java/org/traccar/reports/model/SummaryReport.java index 6f9e9459f..886f8b9e2 100644 --- a/src/main/java/org/traccar/reports/model/SummaryReport.java +++ b/src/main/java/org/traccar/reports/model/SummaryReport.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 - 2017 Anton Tananaev (anton@traccar.org) + * Copyright 2016 - 2020 Anton Tananaev (anton@traccar.org) * Copyright 2016 - 2017 Andrey Kunitsyn (andrey@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -27,8 +27,4 @@ public class SummaryReport extends BaseReport { public void setEngineHours(long engineHours) { this.engineHours = engineHours; } - - public void addEngineHours(long engineHours) { - this.engineHours += engineHours; - } } |