Apply SingleSpaceSeparator Checkstyle module
This commit also fixes its violations. Closes gh-31469
This commit is contained in:
@@ -30,7 +30,7 @@ import org.springframework.transaction.jta.JtaTransactionManager;
|
||||
* @author Christian Dupuis
|
||||
* @since 2.5
|
||||
*/
|
||||
public class JtaTransactionManagerBeanDefinitionParser extends AbstractSingleBeanDefinitionParser {
|
||||
public class JtaTransactionManagerBeanDefinitionParser extends AbstractSingleBeanDefinitionParser {
|
||||
|
||||
@Override
|
||||
protected Class<?> getBeanClass(Element element) {
|
||||
|
||||
@@ -152,7 +152,7 @@ public class MethodMapTransactionAttributeSource
|
||||
public void addTransactionalMethod(Class<?> clazz, String mappedName, TransactionAttribute attr) {
|
||||
Assert.notNull(clazz, "Class must not be null");
|
||||
Assert.notNull(mappedName, "Mapped name must not be null");
|
||||
String name = clazz.getName() + '.' + mappedName;
|
||||
String name = clazz.getName() + '.' + mappedName;
|
||||
|
||||
Method[] methods = clazz.getDeclaredMethods();
|
||||
List<Method> matchingMethods = new ArrayList<>();
|
||||
|
||||
@@ -113,7 +113,7 @@ public class NameMatchTransactionAttributeSource
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() {
|
||||
public void afterPropertiesSet() {
|
||||
for (TransactionAttribute attr : this.nameMap.values()) {
|
||||
if (attr instanceof DefaultTransactionAttribute dta) {
|
||||
dta.resolveAttributeStrings(this.embeddedValueResolver);
|
||||
|
||||
@@ -355,7 +355,7 @@ public abstract class AbstractReactiveTransactionManager
|
||||
if (resourcesHolder != null) {
|
||||
Object suspendedResources = resourcesHolder.suspendedResources;
|
||||
if (suspendedResources != null) {
|
||||
resume = doResume(synchronizationManager, transaction, suspendedResources);
|
||||
resume = doResume(synchronizationManager, transaction, suspendedResources);
|
||||
}
|
||||
List<TransactionSynchronization> suspendedSynchronizations = resourcesHolder.suspendedSynchronizations;
|
||||
if (suspendedSynchronizations != null) {
|
||||
|
||||
Reference in New Issue
Block a user