Skip to content

Commit cfb268f

Browse files
committed
Suppress warning in SmartPersistenceUnitInfoInvocationHandler
1 parent 0fbebd8 commit cfb268f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/SpringPersistenceUnitInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public PersistenceUnitInfo asStandardPersistenceUnitInfo() {
153153
*/
154154
private class SmartPersistenceUnitInfoInvocationHandler implements InvocationHandler {
155155

156-
@SuppressWarnings("unchecked")
156+
@SuppressWarnings({ "unchecked", "rawtypes" })
157157
@Override
158158
public @Nullable Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
159159
// Fast path for SmartPersistenceUnitInfo JTA check

0 commit comments

Comments
 (0)