Browse Source

Suppress recently introduced warning

pull/35405/head
Sam Brannen 8 months ago
parent
commit
8f62a8f579
  1. 2
      spring-context/src/main/java/org/springframework/cache/interceptor/CacheAspectSupport.java

2
spring-context/src/main/java/org/springframework/cache/interceptor/CacheAspectSupport.java vendored

@ -450,7 +450,7 @@ public abstract class CacheAspectSupport extends AbstractCacheInvoker
return cacheHit; return cacheHit;
} }
@SuppressWarnings("unchecked") @SuppressWarnings({ "unchecked", "rawtypes" })
@Nullable @Nullable
private Object executeSynchronized(CacheOperationInvoker invoker, Method method, CacheOperationContexts contexts) { private Object executeSynchronized(CacheOperationInvoker invoker, Method method, CacheOperationContexts contexts) {
CacheOperationContext context = contexts.get(CacheableOperation.class).iterator().next(); CacheOperationContext context = contexts.get(CacheableOperation.class).iterator().next();

Loading…
Cancel
Save