Prevent instantiating utility classes
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -22,6 +22,10 @@ import java.util.concurrent.ScheduledExecutorService;
|
||||
public class Cache
|
||||
{
|
||||
|
||||
private Cache() {
|
||||
throw new IllegalStateException("Utility class");
|
||||
}
|
||||
|
||||
|
||||
// todo: make this compatible with the message listener's regex
|
||||
private static final String BOT_PREFIX = "hideko";
|
||||
|
Reference in New Issue
Block a user