forked from upstream-mirrors/OpenTracks
Cleanup.
This commit is contained in:
@@ -63,12 +63,13 @@ public abstract class Aggregator<InputType, OutputType> {
|
||||
*/
|
||||
protected void resetOutdated() {
|
||||
output = null;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
||||
@@ -3,7 +3,6 @@ package de.dennisguse.opentracks.util;
|
||||
import android.database.Cursor;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
||||
@@ -54,7 +53,6 @@ public abstract class AutoCloseableIterator<T> implements Iterator<T>, AutoClose
|
||||
return get();
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
public final int getCount() {
|
||||
return cursor.getCount();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user