Cleanup: SegmentStatisticUpdater.

This commit is contained in:
Dennis Guse
2025-11-11 08:12:24 +01:00
committed by Dennis Guse
parent ebcdd87481
commit 653352255e
4 changed files with 83 additions and 92 deletions
@@ -5,6 +5,7 @@ import androidx.annotation.Nullable;
import java.time.Duration;
import java.time.Instant;
//TODO Add @NonNull to attributes
public record Statistics(
Instant startTime,
Instant stopTime,
@@ -14,7 +15,7 @@ public record Statistics(
Duration movingTime, // Based on when we believe the user is traveling
Distance totalDistance,
//TODO Check if this is persisted; if not: remove
Speed maxSpeed,
@Nullable