From 8f0d40e0a47bd25abf52c97241cc55efa4fd03a7 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Sun, 9 Dec 2018 14:57:38 +0100 Subject: [PATCH] Fixed minor code smells --- .../bentobox/bentobox/api/localization/BentoBoxLocale.java | 2 +- .../world/bentobox/bentobox/listeners/flags/BucketListener.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/world/bentobox/bentobox/api/localization/BentoBoxLocale.java b/src/main/java/world/bentobox/bentobox/api/localization/BentoBoxLocale.java index 7a4208cd6..f955ebfa2 100644 --- a/src/main/java/world/bentobox/bentobox/api/localization/BentoBoxLocale.java +++ b/src/main/java/world/bentobox/bentobox/api/localization/BentoBoxLocale.java @@ -14,7 +14,7 @@ import world.bentobox.bentobox.util.ItemParser; */ public class BentoBoxLocale { - private final static String UNKNOWN = "unknown"; + private static final String UNKNOWN = "unknown"; private Locale locale; private YamlConfiguration config; diff --git a/src/main/java/world/bentobox/bentobox/listeners/flags/BucketListener.java b/src/main/java/world/bentobox/bentobox/listeners/flags/BucketListener.java index de1e9eaf4..e18d565a8 100644 --- a/src/main/java/world/bentobox/bentobox/listeners/flags/BucketListener.java +++ b/src/main/java/world/bentobox/bentobox/listeners/flags/BucketListener.java @@ -1,6 +1,5 @@ package world.bentobox.bentobox.listeners.flags; -import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.entity.TropicalFish;