Rename finalize methods
This commit is contained in:
parent
96ca95aee1
commit
e5bb567405
|
@ -28,8 +28,8 @@ public class BeforeAndAfterAnnotationsUnitTest {
|
|||
}
|
||||
|
||||
@After
|
||||
public void finalize() {
|
||||
LOG.info("finalize");
|
||||
public void teardown() {
|
||||
LOG.info("teardown");
|
||||
list.clear();
|
||||
}
|
||||
|
||||
|
|
|
@ -28,8 +28,8 @@ public class BeforeEachAndAfterEachAnnotationsUnitTest {
|
|||
}
|
||||
|
||||
@AfterEach
|
||||
public void finalize() {
|
||||
LOG.info("finalize");
|
||||
public void teardown() {
|
||||
LOG.info("teardown");
|
||||
list.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue