Create SegmentStatisticUpdater by passing Statistics (2/2).

This commit is contained in:
Dennis Guse
2025-10-28 18:19:14 +01:00
parent fff5f2d406
commit 0ad32f676c
6 changed files with 18 additions and 13 deletions
@@ -142,8 +142,9 @@ public class Track {
return trackStatistics.getStatistics();
}
public Statistics setStatistics() {
throw new RuntimeException("TODO");
public void setStatistics(Statistics statistics) {
//TODO Implementation is used for refactoring: this.statistics = statistics;
setTrackStatistics(new SegmentStatisticUpdater(statistics));
}
@Deprecated