Replace space indentation with tabs
Issue: SPR-10127
This commit is contained in:
committed by
Chris Beams
parent
1762157ad1
commit
2cf45bad86
@@ -123,7 +123,7 @@ public class CciLocalTransactionManager extends AbstractPlatformTransactionManag
|
||||
protected Object doGetTransaction() {
|
||||
CciLocalTransactionObject txObject = new CciLocalTransactionObject();
|
||||
ConnectionHolder conHolder =
|
||||
(ConnectionHolder) TransactionSynchronizationManager.getResource(getConnectionFactory());
|
||||
(ConnectionHolder) TransactionSynchronizationManager.getResource(getConnectionFactory());
|
||||
txObject.setConnectionHolder(conHolder);
|
||||
return txObject;
|
||||
}
|
||||
|
||||
@@ -717,7 +717,7 @@ public class JtaTransactionManager extends AbstractPlatformTransactionManager
|
||||
if (transactionSynchronizationRegistryClass == null) {
|
||||
// JTA 1.1 API not present - skip.
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("JTA 1.1 [" + TRANSACTION_SYNCHRONIZATION_REGISTRY_CLASS_NAME + "] API not available");
|
||||
logger.debug("JTA 1.1 [" + TRANSACTION_SYNCHRONIZATION_REGISTRY_CLASS_NAME + "] API not available");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -823,12 +823,12 @@ public class JtaTransactionManager extends AbstractPlatformTransactionManager
|
||||
catch (NotSupportedException ex) {
|
||||
// assume nested transaction not supported
|
||||
throw new NestedTransactionNotSupportedException(
|
||||
"JTA implementation does not support nested transactions", ex);
|
||||
"JTA implementation does not support nested transactions", ex);
|
||||
}
|
||||
catch (UnsupportedOperationException ex) {
|
||||
// assume nested transaction not supported
|
||||
throw new NestedTransactionNotSupportedException(
|
||||
"JTA implementation does not support nested transactions", ex);
|
||||
"JTA implementation does not support nested transactions", ex);
|
||||
}
|
||||
catch (SystemException ex) {
|
||||
throw new CannotCreateTransactionException("JTA failure on begin", ex);
|
||||
@@ -883,7 +883,7 @@ public class JtaTransactionManager extends AbstractPlatformTransactionManager
|
||||
|
||||
if (!this.allowCustomIsolationLevels && isolationLevel != TransactionDefinition.ISOLATION_DEFAULT) {
|
||||
throw new InvalidIsolationLevelException(
|
||||
"JtaTransactionManager does not support custom isolation levels by default - " +
|
||||
"JtaTransactionManager does not support custom isolation levels by default - " +
|
||||
"switch 'allowCustomIsolationLevels' to 'true'");
|
||||
}
|
||||
}
|
||||
@@ -962,7 +962,7 @@ public class JtaTransactionManager extends AbstractPlatformTransactionManager
|
||||
* @see javax.transaction.TransactionManager#resume(javax.transaction.Transaction)
|
||||
*/
|
||||
protected void doJtaResume(JtaTransactionObject txObject, Object suspendedTransaction)
|
||||
throws InvalidTransactionException, SystemException {
|
||||
throws InvalidTransactionException, SystemException {
|
||||
|
||||
if (getTransactionManager() == null) {
|
||||
throw new TransactionSuspensionNotSupportedException(
|
||||
|
||||
@@ -274,7 +274,7 @@ public class WebLogicJtaTransactionManager extends JtaTransactionManager {
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Standard JTA resume threw InvalidTransactionException: " + ex.getMessage() +
|
||||
" - trying WebLogic JTA forceResume");
|
||||
" - trying WebLogic JTA forceResume");
|
||||
}
|
||||
/*
|
||||
weblogic.transaction.TransactionManager wtm =
|
||||
|
||||
@@ -359,7 +359,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
|
||||
}
|
||||
else if (definition.getPropagationBehavior() == TransactionDefinition.PROPAGATION_REQUIRED ||
|
||||
definition.getPropagationBehavior() == TransactionDefinition.PROPAGATION_REQUIRES_NEW ||
|
||||
definition.getPropagationBehavior() == TransactionDefinition.PROPAGATION_NESTED) {
|
||||
definition.getPropagationBehavior() == TransactionDefinition.PROPAGATION_NESTED) {
|
||||
SuspendedResourcesHolder suspendedResources = suspend(null);
|
||||
if (debugEnabled) {
|
||||
logger.debug("Creating new transaction with name [" + definition.getName() + "]: " + definition);
|
||||
|
||||
@@ -176,7 +176,7 @@ public class DefaultTransactionStatus extends AbstractTransactionStatus {
|
||||
protected SavepointManager getSavepointManager() {
|
||||
if (!isTransactionSavepointManager()) {
|
||||
throw new NestedTransactionNotSupportedException(
|
||||
"Transaction object [" + getTransaction() + "] does not support savepoints");
|
||||
"Transaction object [" + getTransaction() + "] does not support savepoints");
|
||||
}
|
||||
return (SavepointManager) getTransaction();
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ public abstract class TransactionSynchronizationManager {
|
||||
* @see org.springframework.core.Ordered
|
||||
*/
|
||||
public static void registerSynchronization(TransactionSynchronization synchronization)
|
||||
throws IllegalStateException {
|
||||
throws IllegalStateException {
|
||||
|
||||
Assert.notNull(synchronization, "TransactionSynchronization must not be null");
|
||||
if (!isSynchronizationActive()) {
|
||||
|
||||
Reference in New Issue
Block a user