修改不定长线程池

This commit is contained in:
wuweifeng10 2021-11-11 11:04:22 +08:00
parent bc4affb2b5
commit 22388ae880

View File

@ -18,7 +18,7 @@ public class Async {
/**
* 默认线程池
*/
private static final ThreadPoolExecutor COMMON_POOL = (ThreadPoolExecutor) Executors.newCachedThreadPool();;
private static final ThreadPoolExecutor COMMON_POOL = (ThreadPoolExecutor) Executors.newCachedThreadPool();
private static ExecutorService executorService;