Rename finalize methods

This commit is contained in:
Krzysztof Woyke 2020-12-22 21:27:18 +01:00
parent 96ca95aee1
commit e5bb567405
2 changed files with 4 additions and 4 deletions

View File

@ -28,8 +28,8 @@ public class BeforeAndAfterAnnotationsUnitTest {
}
@After
public void finalize() {
LOG.info("finalize");
public void teardown() {
LOG.info("teardown");
list.clear();
}

View File

@ -28,8 +28,8 @@ public class BeforeEachAndAfterEachAnnotationsUnitTest {
}
@AfterEach
public void finalize() {
LOG.info("finalize");
public void teardown() {
LOG.info("teardown");
list.clear();
}