Added private constructor (PMD)
This commit is contained in:
parent
1d7f8eb86b
commit
bc4399f798
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
final class AbstractModuleTest {
|
final class AbstractModuleTest {
|
||||||
|
private AbstractModuleTest() {
|
||||||
|
throw new UnsupportedOperationException("Illegal constructor call.");
|
||||||
|
}
|
||||||
|
|
||||||
@SuppressFBWarnings("CE_CLASS_ENVY")
|
@SuppressFBWarnings("CE_CLASS_ENVY")
|
||||||
static void testAbstractModule(final AbstractModule module) {
|
static void testAbstractModule(final AbstractModule module) {
|
||||||
final String name = module.getClass().getName();
|
final String name = module.getClass().getName();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue