Removed unused imports

This commit is contained in:
tastybento 2019-06-15 22:07:27 -07:00
parent c7cb7a4327
commit 5793608e08

View File

@ -1,19 +1,18 @@
package world.bentobox.bentobox.hooks.placeholders; package world.bentobox.bentobox.hooks.placeholders;
import me.clip.placeholderapi.PlaceholderAPI;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.eclipse.jdt.annotation.NonNull;
import world.bentobox.bentobox.BentoBox;
import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.bentobox.api.hooks.Hook;
import world.bentobox.bentobox.api.placeholders.PlaceholderReplacer;
import world.bentobox.bentobox.api.placeholders.placeholderapi.AddonPlaceholderExpansion;
import world.bentobox.bentobox.api.placeholders.placeholderapi.BentoBoxPlaceholderExpansion;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.bukkit.entity.Player;
import org.eclipse.jdt.annotation.NonNull;
import me.clip.placeholderapi.PlaceholderAPI;
import world.bentobox.bentobox.BentoBox;
import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.bentobox.api.placeholders.PlaceholderReplacer;
import world.bentobox.bentobox.api.placeholders.placeholderapi.AddonPlaceholderExpansion;
import world.bentobox.bentobox.api.placeholders.placeholderapi.BentoBoxPlaceholderExpansion;
/** /**
* Provides implementations and interfacing needed to register and get placeholders from PlaceholderAPI. * Provides implementations and interfacing needed to register and get placeholders from PlaceholderAPI.
* *
@ -85,13 +84,13 @@ public class PlaceholderAPIHook extends PlaceholderHook {
addonsExpansions.get(addon).unregisterPlaceholder(placeholder); addonsExpansions.get(addon).unregisterPlaceholder(placeholder);
} }
} }
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override @Override
public boolean isPlaceholder(@NonNull Addon addon, @NonNull String placeholder) { public boolean isPlaceholder(@NonNull Addon addon, @NonNull String placeholder) {
return addonsExpansions.containsKey(addon) && addonsExpansions.get(addon).isPlaceholder(placeholder); return addonsExpansions.containsKey(addon) && addonsExpansions.get(addon).isPlaceholder(placeholder);
} }
/** /**