Added private constructors to utility classes

This commit is contained in:
Intelli 2021-07-26 17:20:33 -06:00
parent a7eb6a48c9
commit f6f9c27f08
33 changed files with 130 additions and 7 deletions

View file

@ -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 {