Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-anderson committed Dec 8, 2023
1 parent 01f2265 commit d57c884
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ public static BiIntFunction<Throwable, Completable> retryWithExponentialBackoffF
return (retryCount, cause) -> causeFilter.test(cause) ?
timerExecutor.timer(current().nextLong(0,
// Add 1 because the upper bound is non-inclusive.
baseDelayNanos(initialDelayNanos, maxDelayNanos, maxInitialShift, retryCount) + 1), NANOSECONDS) :
failed(cause);
baseDelayNanos(initialDelayNanos, maxDelayNanos, maxInitialShift, retryCount) + 1), NANOSECONDS)
: failed(cause);
}

/**
Expand Down Expand Up @@ -210,8 +210,8 @@ public static BiIntFunction<Throwable, Completable> retryWithExponentialBackoffF
return (retryCount, cause) -> retryCount <= maxRetries && causeFilter.test(cause) ?
timerExecutor.timer(current().nextLong(0,
// Add 1 because the upper bound is non-inclusive.
baseDelayNanos(initialDelayNanos, maxDelayNanos, maxInitialShift, retryCount) + 1), NANOSECONDS) :
failed(cause);
baseDelayNanos(initialDelayNanos, maxDelayNanos, maxInitialShift, retryCount) + 1), NANOSECONDS)
: failed(cause);
}

/**
Expand Down

0 comments on commit d57c884

Please sign in to comment.