Skip to content

Commit

Permalink
Remove unnecessary isFailure method from RateLimiterExecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Dec 23, 2021
1 parent e7f54d4 commit 0b5d1b4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/dev/failsafe/internal/RateLimiterExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,4 @@ protected ExecutionResult<R> preExecute() {
return ExecutionResult.failure(e);
}
}

@Override
public boolean isFailure(ExecutionResult<R> result) {
return !result.isNonResult() && result.getFailure() instanceof RateLimitExceededException;
}
}

0 comments on commit 0b5d1b4

Please sign in to comment.