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:
@@ -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 " +
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user