From 4f0eadeea9775c175b56178e5f9d9d9d23370ced Mon Sep 17 00:00:00 2001 From: Tastybento Date: Sun, 24 Dec 2017 09:16:27 -0800 Subject: [PATCH] Removed unused imports. --- .../us/tastybento/bskyblock/commands/IslandCommand.java | 9 ++------- .../commands/island/IslandResetnameCommand.java | 2 -- .../island/teams/IslandTeamInviteAcceptCommand.java | 1 - .../commands/island/teams/IslandTeamInviteCommand.java | 1 - .../island/teams/IslandTeamInviteRejectCommand.java | 1 - .../commands/island/teams/IslandTeamPromoteCommand.java | 6 +++--- .../commands/island/teams/IslandTeamSetownerCommand.java | 9 +++++++-- 7 files changed, 12 insertions(+), 17 deletions(-) diff --git a/src/main/java/us/tastybento/bskyblock/commands/IslandCommand.java b/src/main/java/us/tastybento/bskyblock/commands/IslandCommand.java index 8a0b1a358..4d648f1c8 100755 --- a/src/main/java/us/tastybento/bskyblock/commands/IslandCommand.java +++ b/src/main/java/us/tastybento/bskyblock/commands/IslandCommand.java @@ -8,15 +8,10 @@ import us.tastybento.bskyblock.commands.island.IslandAboutCommand; import us.tastybento.bskyblock.commands.island.IslandCreateCommand; import us.tastybento.bskyblock.commands.island.IslandGoCommand; import us.tastybento.bskyblock.commands.island.IslandResetCommand; -import us.tastybento.bskyblock.commands.island.IslandSetnameCommand; -import us.tastybento.bskyblock.commands.island.IslandSethomeCommand; import us.tastybento.bskyblock.commands.island.IslandResetnameCommand; -import us.tastybento.bskyblock.commands.island.teams.IslandTeamInviteAcceptCommand; -import us.tastybento.bskyblock.commands.island.teams.IslandTeamInviteRejectCommand; -import us.tastybento.bskyblock.commands.island.teams.IslandTeamLeaveCommand; +import us.tastybento.bskyblock.commands.island.IslandSethomeCommand; +import us.tastybento.bskyblock.commands.island.IslandSetnameCommand; import us.tastybento.bskyblock.commands.island.teams.IslandTeamCommand; -import us.tastybento.bskyblock.commands.island.teams.IslandTeamInviteCommand; -import us.tastybento.bskyblock.commands.island.teams.IslandTeamPromoteCommand; import us.tastybento.bskyblock.config.Settings; public class IslandCommand extends CompositeCommand { diff --git a/src/main/java/us/tastybento/bskyblock/commands/island/IslandResetnameCommand.java b/src/main/java/us/tastybento/bskyblock/commands/island/IslandResetnameCommand.java index 8760a073b..03df32b33 100644 --- a/src/main/java/us/tastybento/bskyblock/commands/island/IslandResetnameCommand.java +++ b/src/main/java/us/tastybento/bskyblock/commands/island/IslandResetnameCommand.java @@ -6,8 +6,6 @@ package us.tastybento.bskyblock.commands.island; import java.util.List; import java.util.UUID; -import org.bukkit.ChatColor; - import us.tastybento.bskyblock.api.commands.CompositeCommand; import us.tastybento.bskyblock.api.commands.User; import us.tastybento.bskyblock.config.Settings; diff --git a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteAcceptCommand.java b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteAcceptCommand.java index effb9de73..3aa96b107 100644 --- a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteAcceptCommand.java +++ b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteAcceptCommand.java @@ -7,7 +7,6 @@ import org.bukkit.Bukkit; import org.bukkit.GameMode; import org.bukkit.Location; -import us.tastybento.bskyblock.api.commands.CompositeCommand; import us.tastybento.bskyblock.api.commands.User; import us.tastybento.bskyblock.api.events.IslandBaseEvent; import us.tastybento.bskyblock.api.events.team.TeamEvent; diff --git a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteCommand.java b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteCommand.java index b6e41acae..8afd7b62e 100644 --- a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteCommand.java +++ b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteCommand.java @@ -11,7 +11,6 @@ import org.apache.commons.lang.math.NumberUtils; import org.bukkit.OfflinePlayer; import org.bukkit.permissions.PermissionAttachmentInfo; -import us.tastybento.bskyblock.api.commands.CompositeCommand; import us.tastybento.bskyblock.api.commands.User; import us.tastybento.bskyblock.api.events.IslandBaseEvent; import us.tastybento.bskyblock.api.events.team.TeamEvent; diff --git a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteRejectCommand.java b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteRejectCommand.java index 4245082cb..9b3928f9b 100644 --- a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteRejectCommand.java +++ b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamInviteRejectCommand.java @@ -7,7 +7,6 @@ import us.tastybento.bskyblock.api.commands.User; import us.tastybento.bskyblock.api.events.IslandBaseEvent; import us.tastybento.bskyblock.api.events.team.TeamEvent; import us.tastybento.bskyblock.api.events.team.TeamEvent.TeamReason; -import us.tastybento.bskyblock.commands.IslandCommand; import us.tastybento.bskyblock.config.Settings; public class IslandTeamInviteRejectCommand extends AbstractIslandTeamCommand { diff --git a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamPromoteCommand.java b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamPromoteCommand.java index 3ad449d07..aa308fa0b 100644 --- a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamPromoteCommand.java +++ b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamPromoteCommand.java @@ -1,12 +1,12 @@ package us.tastybento.bskyblock.commands.island.teams; -import us.tastybento.bskyblock.api.commands.User; -import us.tastybento.bskyblock.config.Settings; - import java.util.LinkedList; import java.util.List; import java.util.Optional; +import us.tastybento.bskyblock.api.commands.User; +import us.tastybento.bskyblock.config.Settings; + public class IslandTeamPromoteCommand extends AbstractIslandTeamCommand { public IslandTeamPromoteCommand(IslandTeamCommand islandTeamCommand) { diff --git a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamSetownerCommand.java b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamSetownerCommand.java index a31a730f6..9ec3fc972 100644 --- a/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamSetownerCommand.java +++ b/src/main/java/us/tastybento/bskyblock/commands/island/teams/IslandTeamSetownerCommand.java @@ -1,7 +1,14 @@ package us.tastybento.bskyblock.commands.island.teams; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Optional; +import java.util.UUID; + import org.apache.commons.lang.math.NumberUtils; import org.bukkit.permissions.PermissionAttachmentInfo; + import us.tastybento.bskyblock.api.commands.User; import us.tastybento.bskyblock.api.events.IslandBaseEvent; import us.tastybento.bskyblock.api.events.team.TeamEvent; @@ -10,8 +17,6 @@ import us.tastybento.bskyblock.config.Settings; import us.tastybento.bskyblock.database.objects.Island; import us.tastybento.bskyblock.util.Util; -import java.util.*; - public class IslandTeamSetownerCommand extends AbstractIslandTeamCommand { public IslandTeamSetownerCommand(IslandTeamCommand islandTeamCommand) {