From 87b056f999f30aa1a3708f55e81943522ff4e26b Mon Sep 17 00:00:00 2001 From: Govindas Date: Sat, 17 Apr 2021 10:17:32 +0300 Subject: [PATCH] simplify this --- src/main/java/net/govindas/skooldown/Skooldown.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/govindas/skooldown/Skooldown.java b/src/main/java/net/govindas/skooldown/Skooldown.java index d55468d..60499d2 100644 --- a/src/main/java/net/govindas/skooldown/Skooldown.java +++ b/src/main/java/net/govindas/skooldown/Skooldown.java @@ -14,7 +14,7 @@ import java.util.Timer; import java.util.concurrent.ConcurrentHashMap; public final class Skooldown extends JavaPlugin { - public static ConcurrentHashMap cooldowns = new ConcurrentHashMap(); + public static ConcurrentHashMap cooldowns = new ConcurrentHashMap<>(); private Timer cleanupTimer; @Override