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 @After
public void finalize() { public void teardown() {
LOG.info("finalize"); LOG.info("teardown");
list.clear(); list.clear();
} }

View File

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