Use default methods in TestExecutionListener
Remove empty implementation methods.
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
27e11b52f9
commit
1480dc5fd2
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user