This commit is contained in:
Dennis Guse
2026-07-23 22:39:17 +02:00
parent 57cd4b3780
commit c4a1fb0d98
2 changed files with 3 additions and 4 deletions
@@ -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();
} }