No effective change - code cleanup - removed unused param

This commit is contained in:
Robin Bygrave
2015-08-01 20:02:19 +12:00
parent af4018403b
commit 37ff2c7227
2 changed files with 4 additions and 5 deletions
@@ -349,7 +349,6 @@ public class JdbcTransaction implements SpiTransaction {
* </p>
*
* @param diff the amount to add or subtract from the depth.
* @return the current depth plus the diff
*/
@Override
public void depth(int diff) {
@@ -760,7 +759,7 @@ public class JdbcTransaction implements SpiTransaction {
protected void notifyCommit() {
if (manager != null) {
if (queryOnly) {
manager.notifyOfQueryOnly(true, this, null);
manager.notifyOfQueryOnly(this);
} else {
manager.notifyOfCommit(this);
}
@@ -769,7 +768,7 @@ public class JdbcTransaction implements SpiTransaction {
protected void notifyQueryOnly() {
if (manager != null) {
manager.notifyOfQueryOnly(true, this, null);
manager.notifyOfQueryOnly(this);
}
}
@@ -871,7 +870,7 @@ public class JdbcTransaction implements SpiTransaction {
protected void notifyRollback(Throwable cause) {
if (manager != null) {
if (queryOnly) {
manager.notifyOfQueryOnly(false, this, cause);
manager.notifyOfQueryOnly(this);
} else {
manager.notifyOfRollback(this, cause);
}
@@ -325,7 +325,7 @@ public class TransactionManager {
/**
* Query only transaction in read committed isolation.
*/
public void notifyOfQueryOnly(boolean onCommit, SpiTransaction transaction, Throwable cause) {
public void notifyOfQueryOnly(SpiTransaction transaction) {
// Nothing that interesting here
if (TXN_LOGGER.isTraceEnabled()) {