Skip to content

Commit 53f0bf3

Browse files
authored
Merge pull request #2595 from renyouhao/master
Remove redundant null check in Configuration#newExecutor()
2 parents 9cda2ec + c1239f8 commit 53f0bf3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,6 @@ 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;
702701
Executor executor;
703702
if (ExecutorType.BATCH == executorType) {
704703
executor = new BatchExecutor(this, transaction);

0 commit comments

Comments
 (0)