Suppress warning

This commit is contained in:
Sam Brannen
2019-05-05 16:28:45 +02:00
parent 0b97cc9ebd
commit 21864c80d7

View File

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