Rename finalize methods
This commit is contained in:
parent
96ca95aee1
commit
e5bb567405
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue