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:
Sam Brannen
2025-09-25 11:34:50 +02:00
parent 5df082132d
commit 34be8e266d
4 changed files with 5 additions and 5 deletions
@@ -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 ?