Skip to content

Commit a233c91

Browse files
author
ryh
committed
The first line already has a default value
protected ExecutorType defaultExecutorType = ExecutorType.SIMPLE;
1 parent 9cda2ec commit a233c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/session/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ public Executor newExecutor(Transaction transaction) {
698698

699699
public Executor newExecutor(Transaction transaction, ExecutorType executorType) {
700700
executorType = executorType == null ? defaultExecutorType : executorType;
701-
executorType = executorType == null ? ExecutorType.SIMPLE : executorType;
701+
// executorType = executorType == null ? ExecutorType.SIMPLE : executorType;
702702
Executor executor;
703703
if (ExecutorType.BATCH == executorType) {
704704
executor = new BatchExecutor(this, transaction);

0 commit comments

Comments
 (0)