Use default methods in TestExecutionListener

Remove empty implementation methods.
This commit is contained in:
Philippe Marschall
2021-05-16 16:49:13 +02:00
committed by Mahmoud Ben Hassine
parent 27e11b52f9
commit 1480dc5fd2
2 changed files with 1 additions and 29 deletions

View File

@@ -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

View File

@@ -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