From 3ada9d988beec4b9e632757fc1387ee8ef599a01 Mon Sep 17 00:00:00 2001 From: extendedclip Date: Fri, 20 Apr 2018 21:03:57 -0400 Subject: [PATCH] Costants use UPPER_SNAKE_CASE. resolves #17 --- .../placeholderapi/events/ExpansionUnregisterEvent.java | 6 +++--- .../placeholderapi/events/PlaceholderHookUnloadEvent.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/events/ExpansionUnregisterEvent.java b/src/main/java/me/clip/placeholderapi/events/ExpansionUnregisterEvent.java index c9efa16..c9b5b0d 100644 --- a/src/main/java/me/clip/placeholderapi/events/ExpansionUnregisterEvent.java +++ b/src/main/java/me/clip/placeholderapi/events/ExpansionUnregisterEvent.java @@ -27,7 +27,7 @@ import org.bukkit.event.HandlerList; public class ExpansionUnregisterEvent extends Event { - private static final HandlerList handlers = new HandlerList(); + private static final HandlerList HANDLERS = new HandlerList(); private PlaceholderExpansion expansion; public ExpansionUnregisterEvent(PlaceholderExpansion expansion) { @@ -36,11 +36,11 @@ public class ExpansionUnregisterEvent extends Event { @Override public HandlerList getHandlers() { - return handlers; + return HANDLERS; } public static HandlerList getHandlerList() { - return handlers; + return HANDLERS; } public PlaceholderExpansion getExpansion() { diff --git a/src/main/java/me/clip/placeholderapi/events/PlaceholderHookUnloadEvent.java b/src/main/java/me/clip/placeholderapi/events/PlaceholderHookUnloadEvent.java index 8571e01..1eaff6d 100644 --- a/src/main/java/me/clip/placeholderapi/events/PlaceholderHookUnloadEvent.java +++ b/src/main/java/me/clip/placeholderapi/events/PlaceholderHookUnloadEvent.java @@ -27,7 +27,7 @@ import org.bukkit.event.HandlerList; @Deprecated public class PlaceholderHookUnloadEvent extends Event { - private static final HandlerList handlers = new HandlerList(); + private static final HandlerList HANDLERS = new HandlerList(); private String plugin; private PlaceholderHook hook; @@ -38,11 +38,11 @@ public class PlaceholderHookUnloadEvent extends Event { @Override public HandlerList getHandlers() { - return handlers; + return HANDLERS; } public static HandlerList getHandlerList() { - return handlers; + return HANDLERS; } public String getHookName() {