mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 22:59:25 +00:00
No effective change - Code cleanup, convert unnecessary fields to local vars
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user