No effective change - Code cleanup, convert unnecessary fields to local vars

This commit is contained in:
Robin Bygrave committed 2015-07-31 13:00:53 +12:00
1 parent b9aa76c367
commit 8a3d9edd34
12 files changed
+14 -50

No files matched your search

@@ -24,11 +24,6 @@ public final class DefaultPersistExecute implements PersistExecute {
*/
private final int defaultBatchSize;
/**
* Default for whether to call getGeneratedKeys after batch insert.
*/
private final boolean defaultBatchGenKeys = true;
/**
* Construct this DmlPersistExecute.
*/
@@ -43,7 +38,7 @@ public final class DefaultPersistExecute implements PersistExecute {
public BatchControl createBatchControl(SpiTransaction t) {
// create a BatchControl and set its defaults
return new BatchControl(t, defaultBatchSize, defaultBatchGenKeys);
return new BatchControl(t, defaultBatchSize, true);
}
/**