mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Revise nullability for Core Retry after upgrade to NullAway 0.12.10
This commit revises the nullability declarations in Retryable, RetryOperations, and RetryTemplate after the upgrade to NullAway 0.12.10. See gh-35492
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ public abstract class AbstractRetryInterceptor implements MethodInterceptor {
|
||||
RetryTemplate retryTemplate = new RetryTemplate(retryPolicy);
|
||||
|
||||
try {
|
||||
return retryTemplate.execute(new Retryable<>() {
|
||||
return retryTemplate.execute(new Retryable<@Nullable Object>() {
|
||||
@Override
|
||||
public @Nullable Object execute() throws Throwable {
|
||||
return (invocation instanceof ProxyMethodInvocation pmi ?
|
||||
|
||||
Reference in New Issue
Block a user