Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
gthea committed Dec 5, 2024
1 parent 6234fa7 commit f645892
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ private void updateStorage(boolean clearBeforeUpdate, SplitChange splitChange) {
mSplitsStorage.update(mSplitChangeProcessor.process(splitChange));
}

public boolean cacheHasExpired() {
return false;
}

private long now() {
return TimeUnit.MILLISECONDS.toSeconds(System.currentTimeMillis());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public void cleanSplitsWhenQueryStringHasChanged() throws HttpFetcherException {
when(mSplitsStorage.getTill()).thenReturn(100L);
when(mSplitsStorage.getUpdateTimestamp()).thenReturn(1111L);
when(mSplitsStorage.getSplitsFilterQueryString()).thenReturn(mQueryString);
when(mSplitsSyncHelper.cacheHasExpired()).thenReturn(false);

mTask.execute();

Expand All @@ -109,7 +108,6 @@ public void noClearSplitsWhenQueryStringHasNotChanged() throws HttpFetcherExcept
when(mSplitsStorage.getTill()).thenReturn(100L);
when(mSplitsStorage.getUpdateTimestamp()).thenReturn(1111L);
when(mSplitsStorage.getSplitsFilterQueryString()).thenReturn(mQueryString);
when(mSplitsSyncHelper.cacheHasExpired()).thenReturn(false);

mTask.execute();

Expand Down

0 comments on commit f645892

Please sign in to comment.