diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-22 21:09:37 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-22 21:09:37 -0800 |
commit | 2fc6343fc770bd09ba76e4511f0f94ac786d2c6a (patch) | |
tree | c85397d00c932853166e2b4b751806f58ec008c2 /src/main/java/org/traccar/reports/model | |
parent | 5e0a1d14b9e626f9b4fc4ef619effbc764ad03e7 (diff) | |
download | traccar-server-2fc6343fc770bd09ba76e4511f0f94ac786d2c6a.tar.gz traccar-server-2fc6343fc770bd09ba76e4511f0f94ac786d2c6a.tar.bz2 traccar-server-2fc6343fc770bd09ba76e4511f0f94ac786d2c6a.zip |
Fix max speed
Diffstat (limited to 'src/main/java/org/traccar/reports/model')
-rw-r--r-- | src/main/java/org/traccar/reports/model/BaseReport.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/reports/model/BaseReport.java b/src/main/java/org/traccar/reports/model/BaseReport.java index deb42bb8a..d0719576e 100644 --- a/src/main/java/org/traccar/reports/model/BaseReport.java +++ b/src/main/java/org/traccar/reports/model/BaseReport.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Anton Tananaev (anton@traccar.org) + * Copyright 2016 - 2020 Anton Tananaev (anton@traccar.org) * Copyright 2016 Andrey Kunitsyn (andrey@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -71,9 +71,7 @@ public class BaseReport { } public void setMaxSpeed(double maxSpeed) { - if (maxSpeed > this.maxSpeed) { - this.maxSpeed = maxSpeed; - } + this.maxSpeed = maxSpeed; } private double spentFuel; |