Consistent formatting of license headers, package javadocs, and import declarations
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
package org.springframework.orm.hibernate3;
|
||||
|
||||
import java.util.Properties;
|
||||
|
||||
import javax.transaction.Transaction;
|
||||
import javax.transaction.TransactionManager;
|
||||
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
|
||||
/**
|
||||
*
|
||||
* Support package for the Hibernate3 Annotation add-on,
|
||||
* which supports EJB3-compliant JDK 1.5+ annotations for mappings.
|
||||
*
|
||||
* Support package for the Hibernate 3 Annotation add-on,
|
||||
* which supports JPA-compliant Java 5+ annotations for mappings.
|
||||
*/
|
||||
package org.springframework.orm.hibernate3.annotation;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/**
|
||||
*
|
||||
* Package providing integration of
|
||||
* <a href="http://www.hibernate.org">Hibernate 3.x</a>
|
||||
* with Spring concepts.
|
||||
@@ -10,7 +9,5 @@
|
||||
*
|
||||
* <p><b>This package supports Hibernate 3.x only.</b>
|
||||
* See the {@code org.springframework.orm.hibernate4} package for Hibernate 4.x support.
|
||||
*
|
||||
*/
|
||||
package org.springframework.orm.hibernate3;
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ import java.io.Serializable;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import javax.transaction.TransactionManager;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
@@ -31,8 +30,8 @@ import org.hibernate.usertype.UserType;
|
||||
import org.hibernate.util.EqualsHelper;
|
||||
|
||||
import org.springframework.jdbc.support.lob.LobCreator;
|
||||
import org.springframework.jdbc.support.lob.LobHandler;
|
||||
import org.springframework.jdbc.support.lob.LobCreatorUtils;
|
||||
import org.springframework.jdbc.support.lob.LobHandler;
|
||||
import org.springframework.orm.hibernate3.LocalSessionFactoryBean;
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -16,9 +16,12 @@
|
||||
|
||||
package org.springframework.orm.hibernate3.support;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.hibernate.SessionFactory;
|
||||
|
||||
import org.springframework.orm.hibernate3.SessionFactoryUtils;
|
||||
import org.springframework.orm.hibernate3.SessionHolder;
|
||||
import org.springframework.transaction.support.TransactionSynchronizationManager;
|
||||
@@ -27,8 +30,6 @@ import org.springframework.web.context.request.async.CallableProcessingIntercept
|
||||
import org.springframework.web.context.request.async.DeferredResult;
|
||||
import org.springframework.web.context.request.async.DeferredResultProcessingInterceptor;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/**
|
||||
* An interceptor with asynchronous web requests used in OpenSessionInViewFilter and
|
||||
* OpenSessionInViewInterceptor.
|
||||
|
||||
@@ -21,7 +21,6 @@ import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Types;
|
||||
import java.util.Arrays;
|
||||
|
||||
import javax.transaction.TransactionManager;
|
||||
|
||||
import org.springframework.jdbc.support.lob.LobCreator;
|
||||
|
||||
@@ -27,7 +27,6 @@ import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Types;
|
||||
|
||||
import javax.transaction.TransactionManager;
|
||||
|
||||
import org.hibernate.HibernateException;
|
||||
|
||||
@@ -21,7 +21,6 @@ import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Types;
|
||||
|
||||
import javax.transaction.TransactionManager;
|
||||
|
||||
import org.springframework.jdbc.support.lob.LobCreator;
|
||||
|
||||
@@ -20,7 +20,6 @@ import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Types;
|
||||
|
||||
import javax.transaction.TransactionManager;
|
||||
|
||||
import org.springframework.jdbc.support.lob.LobCreator;
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
/**
|
||||
*
|
||||
* Classes supporting the {@code org.springframework.orm.hibernate3} package.
|
||||
* Contains a DAO base class for HibernateTemplate usage.
|
||||
*
|
||||
*/
|
||||
package org.springframework.orm.hibernate3.support;
|
||||
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
|
||||
/**
|
||||
*
|
||||
* Package providing integration of JDO (Java Date Objects) with Spring concepts.
|
||||
* Contains PersistenceManagerFactory helper classes, a template plus callback for JDO
|
||||
* access, and an implementation of Spring's transaction SPI for local JDO transactions.
|
||||
*
|
||||
*/
|
||||
package org.springframework.orm.jdo;
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
/**
|
||||
*
|
||||
* Classes supporting the {@code org.springframework.orm.jdo} package.
|
||||
*
|
||||
*/
|
||||
package org.springframework.orm.jdo.support;
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ package org.springframework.orm.jpa;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.persistence.EntityExistsException;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
@@ -35,6 +34,7 @@ import javax.persistence.TransactionRequiredException;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import org.springframework.beans.factory.BeanFactoryUtils;
|
||||
import org.springframework.beans.factory.ListableBeanFactory;
|
||||
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
package org.springframework.orm.jpa;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
import javax.persistence.spi.PersistenceProvider;
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
|
||||
/**
|
||||
*
|
||||
* Package providing integration of JPA (Java Persistence API) with Spring concepts.
|
||||
* Contains EntityManagerFactory helper classes, a template plus callback for JPA access,
|
||||
* and an implementation of Spring's transaction SPI for local JPA transactions.
|
||||
*
|
||||
*/
|
||||
package org.springframework.orm.jpa;
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ package org.springframework.orm.jpa.persistenceunit;
|
||||
|
||||
import java.lang.instrument.ClassFileTransformer;
|
||||
import java.security.ProtectionDomain;
|
||||
|
||||
import javax.persistence.spi.ClassTransformer;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
|
||||
/**
|
||||
*
|
||||
* Internal support for managing JPA persistence units.
|
||||
*
|
||||
*/
|
||||
package org.springframework.orm.jpa.persistenceunit;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@@ -17,8 +17,12 @@
|
||||
package org.springframework.orm.jpa.support;
|
||||
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import org.springframework.orm.jpa.EntityManagerFactoryUtils;
|
||||
import org.springframework.orm.jpa.EntityManagerHolder;
|
||||
import org.springframework.transaction.support.TransactionSynchronizationManager;
|
||||
@@ -27,9 +31,6 @@ import org.springframework.web.context.request.async.CallableProcessingIntercept
|
||||
import org.springframework.web.context.request.async.DeferredResult;
|
||||
import org.springframework.web.context.request.async.DeferredResultProcessingInterceptor;
|
||||
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/**
|
||||
* An interceptor with asynchronous web requests used in OpenSessionInViewFilter and
|
||||
* OpenSessionInViewInterceptor.
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
package org.springframework.orm.jpa.support;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
import javax.persistence.PersistenceException;
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
/**
|
||||
*
|
||||
* Classes supporting the {@code org.springframework.orm.jpa} package.
|
||||
*
|
||||
*/
|
||||
package org.springframework.orm.jpa.support;
|
||||
|
||||
|
||||
@@ -26,8 +26,6 @@ import org.eclipse.persistence.config.PersistenceUnitProperties;
|
||||
import org.eclipse.persistence.config.TargetDatabase;
|
||||
import org.eclipse.persistence.jpa.JpaEntityManager;
|
||||
|
||||
import org.springframework.orm.jpa.JpaDialect;
|
||||
|
||||
/**
|
||||
* {@link org.springframework.orm.jpa.JpaVendorAdapter} implementation for Eclipse
|
||||
* Persistence Services (EclipseLink). Developed and tested against EclipseLink 2.4.
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
|
||||
/**
|
||||
*
|
||||
* Support classes for adapting to specific JPA vendors.
|
||||
*
|
||||
*/
|
||||
package org.springframework.orm.jpa.vendor;
|
||||
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
|
||||
/**
|
||||
*
|
||||
* Root package for Spring's O/R Mapping integration classes.
|
||||
* Contains generic DataAccessExceptions related to O/R Mapping.
|
||||
*
|
||||
*/
|
||||
package org.springframework.orm;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user