Avoid unnecessary boxing/unboxing of primitives

Closes gh-25080
This commit is contained in:
Сергей Цыпанов
2020-05-14 16:39:04 +03:00
committed by Sam Brannen
parent 567265123b
commit 703d54677e
4 changed files with 7 additions and 7 deletions

View File

@@ -128,7 +128,7 @@ public class TaskExecutorFactoryBean implements
}
}
else {
Integer value = Integer.valueOf(this.poolSize);
int value = Integer.parseInt(this.poolSize);
corePoolSize = value;
maxPoolSize = value;
}