Skip to content

Commit

Permalink
apply spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
rezastallone committed Oct 12, 2023
1 parent ec43cf6 commit aa57046
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ public class StartTypeAwareSpanStorage implements SpanStorage {
private final File rootDir;
private final File spanDir;

static StartTypeAwareSpanStorage create(VisibleScreenTracker visibleScreenTracker, FileUtils fileUtils, File rootDir){
StartTypeAwareSpanStorage startTypeAwareSpanStorage = new StartTypeAwareSpanStorage(visibleScreenTracker, fileUtils, rootDir);
static StartTypeAwareSpanStorage create(
VisibleScreenTracker visibleScreenTracker, FileUtils fileUtils, File rootDir) {
StartTypeAwareSpanStorage startTypeAwareSpanStorage =
new StartTypeAwareSpanStorage(visibleScreenTracker, fileUtils, rootDir);
startTypeAwareSpanStorage.cleanupUnsentBackgroundSpans();
return startTypeAwareSpanStorage;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ void getPendingFiles_givenInBackground_shouldReturnForegoundOnlySpan() {
}

@Test
void getPendingFiles_givenPrevouslyInBackground_shouldMoveBackgroundSpanToForegroundSpanForSending() {
void
getPendingFiles_givenPrevouslyInBackground_shouldMoveBackgroundSpanToForegroundSpanForSending() {
when(visibleScreenTracker.getPreviouslyVisibleScreen()).thenReturn("LauncherActivity");
when(visibleScreenTracker.getCurrentlyVisibleScreen()).thenReturn("MainActivity");

Expand Down

0 comments on commit aa57046

Please sign in to comment.