Avoid unnecessary boxing/unboxing of primitives
Closes gh-25080
This commit is contained in:
committed by
Sam Brannen
parent
567265123b
commit
703d54677e
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user