Polish contribution

See gh-35109
This commit is contained in:
Sam Brannen
2025-07-03 16:49:40 +02:00
parent 489ebd2438
commit 58061ae295
2 changed files with 6 additions and 5 deletions
@@ -64,8 +64,8 @@ public record MethodRetrySpec(
MethodRetryPredicate combinedPredicate() {
return (method, throwable) -> new ExceptionTypeFilter(this.includes, this.excludes, true)
.match(throwable.getClass()) &&
ExceptionTypeFilter exceptionFilter = new ExceptionTypeFilter(this.includes, this.excludes, true);
return (method, throwable) -> exceptionFilter.match(throwable.getClass()) &&
this.predicate.shouldRetry(method, throwable);
}