forked from upstream-mirrors/OpenTracks
Cleanup.
This commit is contained in:
@@ -63,12 +63,13 @@ public abstract class Aggregator<InputType, OutputType> {
|
|||||||
*/
|
*/
|
||||||
protected void resetOutdated() {
|
protected void resetOutdated() {
|
||||||
output = null;
|
output = null;
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reset long-term (i.e., aggregated) values (more than derived from previous SensorData) like overall distance.
|
* Reset long-term (i.e., aggregated) values (more than derived from previous SensorData) like overall distance.
|
||||||
*/
|
*/
|
||||||
public void resetAggregated() {};
|
public void resetAggregated() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is the data recent considering the current time.
|
* Is the data recent considering the current time.
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ package de.dennisguse.opentracks.util;
|
|||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.VisibleForTesting;
|
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
||||||
@@ -54,7 +53,6 @@ public abstract class AutoCloseableIterator<T> implements Iterator<T>, AutoClose
|
|||||||
return get();
|
return get();
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
|
||||||
public final int getCount() {
|
public final int getCount() {
|
||||||
return cursor.getCount();
|
return cursor.getCount();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user