TrackStatistics startTime/stopTime is null on creation.

This commit is contained in:
Dennis Guse
2021-01-09 17:45:20 +01:00
parent 1d46981717
commit 912fd1aa2f
4 changed files with 9 additions and 10 deletions
@@ -112,7 +112,8 @@ public class TrackStatistics {
}
public void reset() {
setStartTime(Instant.ofEpochMilli(0)); //TODO should probably initialized with null
startTime = null;
stopTime = null;
setTotalDistance(0);
setTotalTime(Duration.ofSeconds(0));