From 2d64e539aafd0434fd208ba93486ad597aa9475c Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Tue, 20 Jan 2015 10:46:29 -0500 Subject: [PATCH] HHH-8494 cleanup --- .../hibernate/engine/jdbc/batch/internal/BatchingBatch.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchingBatch.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchingBatch.java index 7add478909..08c524a367 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchingBatch.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchingBatch.java @@ -50,7 +50,7 @@ public class BatchingBatch extends AbstractBatchImpl { private final int batchSize; private int batchPosition; - private boolean alreadyExecuteBatch; + private boolean batchExecuted; private int statementPosition; /** @@ -97,7 +97,7 @@ public class BatchingBatch extends AbstractBatchImpl { notifyObserversImplicitExecution(); performExecution(); batchPosition = 0; - alreadyExecuteBatch = true; + batchExecuted = true; } statementPosition = 0; } @@ -106,7 +106,7 @@ public class BatchingBatch extends AbstractBatchImpl { @Override protected void doExecuteBatch() { if (batchPosition == 0 ) { - if(!alreadyExecuteBatch) { + if(! batchExecuted) { LOG.debug( "No batched statements to execute" ); } }