mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-04 10:23:06 +02:00
For TrackStatisticsUpdater there may no pre-existing Statistics.
This commit is contained in:
@@ -107,7 +107,7 @@ public class SegmentStatisticUpdater {
|
||||
}
|
||||
|
||||
public Statistics merge(Statistics statistics) {
|
||||
return statistics.merge(getStatistics());
|
||||
return getStatistics().merge(statistics);
|
||||
}
|
||||
|
||||
public Statistics getStatistics() {
|
||||
|
||||
Reference in New Issue
Block a user