forked from upstream-mirrors/OpenTracks
Create SegmentStatisticUpdater by passing Statistics (2/2).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user