Use consistent block style
Update all code to use a consistent block style. Issue: SPR-16968
This commit is contained in:
committed by
Juergen Hoeller
parent
04a8c285df
commit
866e9d702e
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2018 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.
|
||||
@@ -81,8 +81,12 @@ public enum Isolation {
|
||||
private final int value;
|
||||
|
||||
|
||||
Isolation(int value) { this.value = value; }
|
||||
Isolation(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int value() { return this.value; }
|
||||
public int value() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
* Copyright 2002-2018 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.
|
||||
@@ -100,8 +100,12 @@ public enum Propagation {
|
||||
private final int value;
|
||||
|
||||
|
||||
Propagation(int value) { this.value = value; }
|
||||
Propagation(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int value() { return this.value; }
|
||||
public int value() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -507,9 +507,10 @@ public abstract class TransactionAspectSupport implements BeanFactoryAware, Init
|
||||
else {
|
||||
// The TransactionInfo.hasTransaction() method will return false. We created it only
|
||||
// to preserve the integrity of the ThreadLocal stack maintained in this class.
|
||||
if (logger.isTraceEnabled())
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("Don't need to create transaction for [" + joinpointIdentification +
|
||||
"]: This method isn't transactional.");
|
||||
}
|
||||
}
|
||||
|
||||
// We always bind the TransactionInfo to the thread, even if we didn't create
|
||||
|
||||
Reference in New Issue
Block a user