Skip to content

Commit b238d7b

Browse files
committed
HHH-8494 cleanup
1 parent c241404 commit b238d7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchingBatch.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class BatchingBatch extends AbstractBatchImpl {
5050

5151
private final int batchSize;
5252
private int batchPosition;
53-
private boolean alreadyExecuteBatch;
53+
private boolean batchExecuted;
5454
private int statementPosition;
5555

5656
/**
@@ -97,7 +97,7 @@ public void addToBatch() {
9797
notifyObserversImplicitExecution();
9898
performExecution();
9999
batchPosition = 0;
100-
alreadyExecuteBatch = true;
100+
batchExecuted = true;
101101
}
102102
statementPosition = 0;
103103
}
@@ -106,7 +106,7 @@ public void addToBatch() {
106106
@Override
107107
protected void doExecuteBatch() {
108108
if (batchPosition == 0 ) {
109-
if(!alreadyExecuteBatch) {
109+
if(! batchExecuted) {
110110
LOG.debug( "No batched statements to execute" );
111111
}
112112
}

0 commit comments

Comments
 (0)