mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-04 10:23:06 +02:00
Cleanup: use Duration.ZERO.
This commit is contained in:
@@ -185,8 +185,8 @@ public class SegmentStatisticUpdater {
|
||||
startTime = null;
|
||||
stopTime = null;
|
||||
|
||||
totalTime = Duration.ofSeconds(0);
|
||||
movingTime = Duration.ofSeconds(0);
|
||||
totalTime = Duration.ZERO;
|
||||
movingTime = Duration.ZERO;
|
||||
totalDistance = Distance.ZERO;
|
||||
maxSpeed = Speed.ZERO;
|
||||
totalAltitudeGain_m = null;
|
||||
|
||||
Reference in New Issue
Block a user