forked from upstream-mirrors/OpenTracks
Refactoring: move TrackPointDataSet directly into TrackPoint.
This commit is contained in:
@@ -19,7 +19,6 @@ package de.dennisguse.opentracks;
|
||||
import android.location.Location;
|
||||
|
||||
import de.dennisguse.opentracks.content.data.TrackPoint;
|
||||
import de.dennisguse.opentracks.content.data.TrackPointSensorDataSet;
|
||||
|
||||
/**
|
||||
* Commons utilities for creating stubs of track, location.
|
||||
@@ -63,6 +62,6 @@ public class TrackStubUtils {
|
||||
location.setTime(INITIAL_TIME);
|
||||
location.setBearing(INITIAL_BEARING);
|
||||
|
||||
return new TrackPoint(location, new TrackPointSensorDataSet());
|
||||
return new TrackPoint(location);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user