Clean up warnings in spring-orm
This commit is contained in:
@@ -1256,7 +1256,7 @@ public class HibernateTemplate implements HibernateOperations, InitializingBean
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
@SuppressWarnings({"rawtypes", "deprecation"})
|
||||
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
|
||||
// Invocation on Session interface coming in...
|
||||
|
||||
|
||||
@@ -64,7 +64,6 @@ import org.springframework.util.StringUtils;
|
||||
* @author Juergen Hoeller
|
||||
* @since 2.0
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public abstract class EntityManagerFactoryUtils {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user