mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 16:29:28 +00:00
Polish contribution
See gh-35109
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user