Added private constructors to utility classes
This commit is contained in:
parent
a7eb6a48c9
commit
f6f9c27f08
33 changed files with 130 additions and 7 deletions
|
|
@ -15,6 +15,10 @@ public class Selector {
|
|||
|
||||
final protected static Set<String> SELECTORS = new HashSet<>(Arrays.asList(Selector.FIRST, Selector.SECOND, Selector.THIRD, Selector.FOURTH));
|
||||
|
||||
private Selector() {
|
||||
throw new IllegalStateException("Utility class");
|
||||
}
|
||||
|
||||
protected static String processSelection(String output, String param, String color) {
|
||||
String substring = output;
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue