JUnit4EmptyMethods
JUnit4EmptyMethods
Empty JUnit4 @Before, @After, @BeforeClass, and @AfterClass methods are unnecessary and should be deleted.
- Severity
- WARNING
Suppress false positives by adding the suppression annotation @SuppressWarnings("JUnit4EmptyMethods") to the enclosing element.