Mark util class as final in test code. #1555
Fixes `ClassWithOnlyPrivateConstructors` inspection violation in test code. Description: >Reports classes with only private constructors that are not extended by any nested class. Such classes can not be extended and should be declared final.
This commit is contained in:
parent
a3fdd52b45
commit
b062024229
|
|
@ -24,7 +24,7 @@ import java.lang.reflect.Modifier;
|
|||
|
||||
import org.junit.Assert;
|
||||
|
||||
public class TestUtils {
|
||||
public final class TestUtils {
|
||||
|
||||
private TestUtils() {
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue