forked from upstream-mirrors/OpenTracks
Minor style clean-up
This commit is contained in:
@@ -36,8 +36,8 @@ public class MyTracksLocation extends Location {
|
|||||||
this.sensorDataSet = sd;
|
this.sensorDataSet = sd;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyTracksLocation(String string) {
|
public MyTracksLocation(String provider) {
|
||||||
super(string);
|
super(provider);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Sensor.SensorDataSet getSensorDataSet() {
|
public Sensor.SensorDataSet getSensorDataSet() {
|
||||||
|
|||||||
@@ -301,7 +301,7 @@ public interface MyTracksProviderUtils {
|
|||||||
* @return a new waypoint object
|
* @return a new waypoint object
|
||||||
*/
|
*/
|
||||||
Waypoint createWaypoint(Cursor cursor);
|
Waypoint createWaypoint(Cursor cursor);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A lightweight wrapper around the original {@link Cursor} with a method to clean up.
|
* A lightweight wrapper around the original {@link Cursor} with a method to clean up.
|
||||||
*/
|
*/
|
||||||
@@ -312,13 +312,14 @@ public interface MyTracksProviderUtils {
|
|||||||
* @return the ID of the most recent track point ID.
|
* @return the ID of the most recent track point ID.
|
||||||
*/
|
*/
|
||||||
long getLocationId();
|
long getLocationId();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Should be called in case the underlying iterator hasn't reached the last record.
|
* Should be called in case the underlying iterator hasn't reached the last record.
|
||||||
|
* Calling it if it has reached the last record is a no-op.
|
||||||
*/
|
*/
|
||||||
void close();
|
void close();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A factory for creating new {@class Location}s.
|
* A factory for creating new {@class Location}s.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+1
-1
@@ -1024,7 +1024,7 @@ public class MyTracksProviderUtilsImpl implements MyTracksProviderUtils {
|
|||||||
cursor = null;
|
cursor = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void remove() {
|
public void remove() {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
|
|||||||
Reference in New Issue
Block a user