Skip to content

Commit 0ca5afd

Browse files
committed
Fix broken test
1 parent e7bd305 commit 0ca5afd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

spring-context/src/test/java/org/springframework/scheduling/concurrent/ThreadPoolExecutorFactoryBeanTests.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,10 @@ public void defaultExecutor() throws Exception {
4949
public static class ExecutorConfig {
5050

5151
@Bean
52-
public ThreadPoolExecutorFactoryBean executorFactory() {
52+
public ThreadPoolExecutorFactoryBean executor() {
5353
return new ThreadPoolExecutorFactoryBean();
5454
}
5555

56-
@Bean
57-
public ExecutorService executor() {
58-
return executorFactory().getObject();
59-
}
6056
}
6157

6258
}

0 commit comments

Comments
 (0)