Fix compile

This commit is contained in:
Albumen Kevin 2024-06-28 19:19:10 +08:00
parent 88c7024080
commit ee7b13726f
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class AbstractDynamicConfigurationTest {
}
};
ThreadPoolExecutor threadPoolExecutor = configuration.getWorkersThreadPool();
ThreadPoolExecutor threadPoolExecutor = (ThreadPoolExecutor) configuration.getWorkersThreadPool();
ThreadFactory threadFactory = threadPoolExecutor.getThreadFactory();
Thread thread = threadFactory.newThread(() -> {});