Rename finalize methods

This commit is contained in:
Krzysztof Woyke
2020-12-22 21:27:18 +01:00
parent 9bee26b08b
commit 9b0b08425a
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();
}