Browse Source

Suppress warning

pull/22898/head
Sam Brannen 7 years ago
parent
commit
21864c80d7
  1. 2
      spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAspectSupport.java

2
spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAspectSupport.java

@ -817,7 +817,7 @@ public abstract class TransactionAspectSupport implements BeanFactoryAware, Init
this.adapter = adapter; this.adapter = adapter;
} }
@SuppressWarnings("unchecked") @SuppressWarnings({ "unchecked", "rawtypes" })
public Object invokeWithinTransaction(Method method, @Nullable Class<?> targetClass, InvocationCallback invocation) { public Object invokeWithinTransaction(Method method, @Nullable Class<?> targetClass, InvocationCallback invocation) {
// If the transaction attribute is null, the method is non-transactional. // If the transaction attribute is null, the method is non-transactional.
TransactionAttributeSource tas = getTransactionAttributeSource(); TransactionAttributeSource tas = getTransactionAttributeSource();

Loading…
Cancel
Save