Remove trailing whitespace in source files
find . -type f -name "*.java" -or -name "*.aj" | \
xargs perl -p -i -e "s/[ \t]*$//g" {} \;
Issue: SPR-10127
This commit is contained in:
committed by
Chris Beams
parent
44a474a014
commit
1762157ad1
@@ -239,7 +239,7 @@ public interface HibernateOperations {
|
||||
|
||||
/**
|
||||
* Return all persistent instances of the given entity class.
|
||||
* Note: Use queries or criteria for retrieving a specific subset.
|
||||
* Note: Use queries or criteria for retrieving a specific subset.
|
||||
* @param entityClass a persistent class
|
||||
* @return a {@link List} containing 0 or more persistent instances
|
||||
* @throws org.springframework.dao.DataAccessException if there is a Hibernate error
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright 2002-2005 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* 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,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright 2002-2005 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* 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,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright 2002-2005 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* 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,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Package providing integration of
|
||||
* <a href="http://ibatis.apache.org">iBATIS Database Layer</a>
|
||||
* with Spring concepts.
|
||||
*
|
||||
*
|
||||
* <p>Contains resource helper classes and template classes for
|
||||
* data access with the iBATIS SqlMapClient API.
|
||||
*
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright 2002-2005 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* 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,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@@ -34,5 +34,5 @@ public class JdoSystemException extends UncategorizedDataAccessException {
|
||||
public JdoSystemException(JDOException ex) {
|
||||
super(ex.getMessage(), ex);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright 2002-2005 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* 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,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
||||
@@ -33,7 +33,7 @@ import javax.sql.DataSource;
|
||||
* @since 2.0
|
||||
*/
|
||||
public interface EntityManagerFactoryInfo {
|
||||
|
||||
|
||||
/**
|
||||
* Return the raw underlying EntityManagerFactory.
|
||||
* @return the unadorned EntityManagerFactory (never <code>null</code>)
|
||||
@@ -59,7 +59,7 @@ public interface EntityManagerFactoryInfo {
|
||||
PersistenceUnitInfo getPersistenceUnitInfo();
|
||||
|
||||
/**
|
||||
* Return the name of the persistence unit used to create this
|
||||
* Return the name of the persistence unit used to create this
|
||||
* EntityManagerFactory, or <code>null</code> if it is an unnamed default.
|
||||
* <p>If <code>getPersistenceUnitInfo()</code> returns non-null, the result of
|
||||
* <code>getPersistenceUnitName()</code> must be equal to the value returned by
|
||||
|
||||
@@ -317,11 +317,11 @@ public abstract class EntityManagerFactoryUtils {
|
||||
if (ex instanceof PersistenceException) {
|
||||
return new JpaSystemException((PersistenceException) ex);
|
||||
}
|
||||
|
||||
|
||||
// If we get here, we have an exception that resulted from user code,
|
||||
// rather than the persistence provider, so we return null to indicate
|
||||
// that translation should not occur.
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.transaction.TransactionException;
|
||||
* does not offer, such as access to the underlying JDBC Connection. This
|
||||
* strategy is mainly intended for standalone usage of a JPA provider; most
|
||||
* of its functionality is not relevant when running with JTA transactions.
|
||||
*
|
||||
*
|
||||
* <p>Also allows for the provision of value-added methods for portable yet
|
||||
* more capable EntityManager and EntityManagerFactory subinterfaces offered
|
||||
* by Spring.
|
||||
|
||||
@@ -34,5 +34,5 @@ public class JpaSystemException extends UncategorizedDataAccessException {
|
||||
public JpaSystemException(PersistenceException ex) {
|
||||
super(ex.getMessage(), ex);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ import org.springframework.util.Assert;
|
||||
* @see javax.persistence.spi.PersistenceUnitInfo#addTransformer(javax.persistence.spi.ClassTransformer)
|
||||
*/
|
||||
class ClassFileTransformerAdapter implements ClassFileTransformer {
|
||||
|
||||
|
||||
private static final Log logger = LogFactory.getLog(ClassFileTransformerAdapter.class);
|
||||
|
||||
private final ClassTransformer classTransformer;
|
||||
@@ -51,7 +51,7 @@ class ClassFileTransformerAdapter implements ClassFileTransformer {
|
||||
public byte[] transform(
|
||||
ClassLoader loader, String className, Class<?> classBeingRedefined,
|
||||
ProtectionDomain protectionDomain, byte[] classfileBuffer) {
|
||||
|
||||
|
||||
try {
|
||||
byte[] transformed = this.classTransformer.transform(
|
||||
loader, className, classBeingRedefined, protectionDomain, classfileBuffer);
|
||||
|
||||
@@ -49,7 +49,7 @@ public enum Database {
|
||||
|
||||
ORACLE,
|
||||
|
||||
POSTGRESQL,
|
||||
POSTGRESQL,
|
||||
|
||||
SQL_SERVER,
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.springframework.orm.jpa.JpaDialect;
|
||||
* Thanks to Mike Keith for the original EclipseLink support prototype!
|
||||
*
|
||||
* <p>NOTE: No need to filter out classes from the JPA providers package for
|
||||
* EclipseLink (see SPR-6040)
|
||||
* EclipseLink (see SPR-6040)
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @author Thomas Risberg
|
||||
|
||||
@@ -54,7 +54,7 @@ import org.springframework.transaction.TransactionException;
|
||||
*/
|
||||
@Deprecated
|
||||
public class TopLinkJpaDialect extends DefaultJpaDialect {
|
||||
|
||||
|
||||
private boolean lazyDatabaseTransaction = false;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user