diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/FaultTolerantExceptionClassesTests.java b/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/FaultTolerantExceptionClassesTests.java index 55d3ad4ba..034129f2a 100644 --- a/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/FaultTolerantExceptionClassesTests.java +++ b/spring-batch-core/src/test/java/org/springframework/batch/core/step/item/FaultTolerantExceptionClassesTests.java @@ -59,17 +59,7 @@ public class FaultTolerantExceptionClassesTests implements ApplicationContextAwa public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { this.applicationContext = applicationContext; } - -// public static void setCtx() { -// ctx = new ClassPathXmlApplicationContext( -// "/org/springframework/batch/core/step/item/FaultTolerantExceptionClassesTests-context.xml"); -// jobRepository = (JobRepository) ctx.getBean("jobRepository"); -// jobLauncher = (JobLauncher) ctx.getBean("jobLauncher"); -// reader = (SkipReaderStub) ctx.getBean("reader"); -// writer = (SkipWriterStub) ctx.getBean("writer"); -// tasklet = (ExceptionThrowingTaskletStub) ctx.getBean("tasklet"); -// } - + @Before public void setup() { reader.clear();