mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing: remove unnecessary code
This commit is contained in:
-3
@@ -122,9 +122,6 @@ public class MockitoTestExecutionListener extends AbstractTestExecutionListener
|
||||
if (mocks instanceof MockitoSession session) {
|
||||
session.finishMocking();
|
||||
}
|
||||
else if (mocks instanceof AutoCloseable closeable) {
|
||||
closeable.close();
|
||||
}
|
||||
}
|
||||
|
||||
private boolean hasMockitoAnnotations(TestContext testContext) {
|
||||
|
||||
Reference in New Issue
Block a user