Consistently declare @SuppressWarnings("serial") instead of dummy serialVersionUID
This commit is contained in:
@@ -83,11 +83,10 @@ import org.springframework.util.ClassUtils;
|
||||
* @see org.springframework.orm.jpa.support.SharedEntityManagerBean
|
||||
* @see javax.persistence.spi.PersistenceProvider#createContainerEntityManagerFactory
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class LocalContainerEntityManagerFactoryBean extends AbstractEntityManagerFactoryBean
|
||||
implements ResourceLoaderAware, LoadTimeWeaverAware {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private PersistenceUnitManager persistenceUnitManager;
|
||||
|
||||
private final DefaultPersistenceUnitManager internalPersistenceUnitManager =
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -66,10 +66,9 @@ import javax.persistence.spi.PersistenceProvider;
|
||||
* @see javax.persistence.Persistence#createEntityManagerFactory
|
||||
* @see javax.persistence.spi.PersistenceProvider#createEntityManagerFactory
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class LocalEntityManagerFactoryBean extends AbstractEntityManagerFactoryBean {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Initialize the EntityManagerFactory for the given configuration.
|
||||
* @throws javax.persistence.PersistenceException in case of JPA initialization errors
|
||||
|
||||
Reference in New Issue
Block a user