mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
修改 ThreadUtil.newExecutor 创建线程池返回类
This commit is contained in:
parent
191e757dc9
commit
0910a42e5e
@ -84,7 +84,7 @@ public class ThreadUtil {
|
||||
* @param poolSize 同时执行的线程数大小
|
||||
* @return ExecutorService
|
||||
*/
|
||||
public static ExecutorService newExecutor(final int poolSize) {
|
||||
public static ThreadPoolExecutor newExecutor(final int poolSize) {
|
||||
return newExecutor(poolSize, poolSize);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user