Throw exception for utilities
This commit is contained in:
2 files changed
+6
-4
No files matched your search
+1
-1
@@ -87,7 +87,7 @@ final class EncryptionUtil {
|
||||
}
|
||||
|
||||
private EncryptionUtil() {
|
||||
// utility
|
||||
throw new RuntimeException("No instantiation of utility classes allowed");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user