mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - code cleanup - removed unused param
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user