mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-30 03:09:03 +00:00
Fix broken test
This commit is contained in:
+1
-5
@@ -49,14 +49,10 @@ public class ThreadPoolExecutorFactoryBeanTests {
|
||||
public static class ExecutorConfig {
|
||||
|
||||
@Bean
|
||||
public ThreadPoolExecutorFactoryBean executorFactory() {
|
||||
public ThreadPoolExecutorFactoryBean executor() {
|
||||
return new ThreadPoolExecutorFactoryBean();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ExecutorService executor() {
|
||||
return executorFactory().getObject();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user