Fix version 1.3.0 to adapt to 1.2 X version

pull/257/head
chen.ma 3 years ago
parent 8a0969f4ac
commit bf1acefaee

@ -113,11 +113,11 @@ public class ThreadPoolParameterInfo implements ThreadPoolParameter, Serializabl
*/ */
private Integer allowCoreThreadTimeOut; private Integer allowCoreThreadTimeOut;
public Integer getCorePoolSize() { public Integer corePoolSizeAdapt() {
return this.corePoolSize == null ? this.coreSize : this.corePoolSize; return this.corePoolSize == null ? this.coreSize : this.corePoolSize;
} }
public Integer getMaximumPoolSize() { public Integer maximumPoolSizeAdapt() {
return this.maximumPoolSize == null ? this.maxSize : this.maximumPoolSize; return this.maximumPoolSize == null ? this.maxSize : this.maximumPoolSize;
} }
} }

Loading…
Cancel
Save