diff --git a/spring-batch-test/src/main/java/org/springframework/batch/test/JobScopeTestExecutionListener.java b/spring-batch-test/src/main/java/org/springframework/batch/test/JobScopeTestExecutionListener.java index e7855637c..8a99eb4ee 100644 --- a/spring-batch-test/src/main/java/org/springframework/batch/test/JobScopeTestExecutionListener.java +++ b/spring-batch-test/src/main/java/org/springframework/batch/test/JobScopeTestExecutionListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2006-2010 the original author or authors. + * Copyright 2006-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -107,20 +107,6 @@ public class JobScopeTestExecutionListener implements TestExecutionListener { JobSynchronizationManager.close(); } } - - /* - * Support for Spring 3.0 (empty). - */ - @Override - public void afterTestClass(TestContext testContext) throws Exception { - } - - /* - * Support for Spring 3.0 (empty). - */ - @Override - public void beforeTestClass(TestContext testContext) throws Exception { - } /** * Discover a {@link JobExecution} as a field in the test case or create diff --git a/spring-batch-test/src/main/java/org/springframework/batch/test/StepScopeTestExecutionListener.java b/spring-batch-test/src/main/java/org/springframework/batch/test/StepScopeTestExecutionListener.java index 573249ec2..d41fefcc5 100644 --- a/spring-batch-test/src/main/java/org/springframework/batch/test/StepScopeTestExecutionListener.java +++ b/spring-batch-test/src/main/java/org/springframework/batch/test/StepScopeTestExecutionListener.java @@ -109,20 +109,6 @@ public class StepScopeTestExecutionListener implements TestExecutionListener { StepSynchronizationManager.close(); } } - - /* - * Support for Spring 3.0 (empty). - */ - @Override - public void afterTestClass(TestContext testContext) throws Exception { - } - - /* - * Support for Spring 3.0 (empty). - */ - @Override - public void beforeTestClass(TestContext testContext) throws Exception { - } /** * Discover a {@link StepExecution} as a field in the test case or create