mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-10 09:09:04 +00:00
Suppress warning in SmartPersistenceUnitInfoInvocationHandler
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ public class SpringPersistenceUnitInfo extends MutablePersistenceUnitInfo {
|
||||
*/
|
||||
private class SmartPersistenceUnitInfoInvocationHandler implements InvocationHandler {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
@Override
|
||||
public @Nullable Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
|
||||
// Fast path for SmartPersistenceUnitInfo JTA check
|
||||
|
||||
Reference in New Issue
Block a user