Remove unneeded NullAway warning suppressions

This commit removes warning suppressions related to uber/NullAway#1113
which is now fixed.

See gh-28797
This commit is contained in:
Sébastien Deleuze
2025-01-07 09:51:57 +01:00
parent 2697aea15f
commit 96f7d50abf
8 changed files with 0 additions and 9 deletions

View File

@@ -107,7 +107,6 @@ abstract class AbstractJCacheOperation<A extends Annotation> implements JCacheOp
}
@Override
@SuppressWarnings("NullAway") // https://github.com/uber/NullAway/issues/1113
public CacheInvocationParameter[] getAllParameters(@Nullable Object... values) {
if (this.allParameterDetails.size() != values.length) {
throw new IllegalStateException("Values mismatch, operation has " +

View File

@@ -84,7 +84,6 @@ class KeyGeneratorAdapter implements KeyGenerator {
}
@Override
@SuppressWarnings("NullAway") // https://github.com/uber/NullAway/issues/1113
public Object generate(Object target, Method method, @Nullable Object... params) {
JCacheOperation<?> operation = this.cacheOperationSource.getCacheOperation(method, target.getClass());
if (!(operation instanceof AbstractJCacheKeyOperation)) {