From dfeab96f22785f158147f71c675eda9755ff47fb Mon Sep 17 00:00:00 2001 From: Andreas Troelsen Date: Wed, 7 Aug 2019 23:56:41 +0200 Subject: [PATCH] Remove unused imports in various files. Getting rid of warnings one unused import at a time... --- src/main/java/com/garbagemule/MobArena/MAUtils.java | 2 -- .../java/com/garbagemule/MobArena/framework/ArenaMaster.java | 1 - .../java/com/garbagemule/MobArena/metrics/ClassChestsChart.java | 1 - .../java/com/garbagemule/MobArena/util/config/ConfigUtils.java | 1 - .../java/com/garbagemule/MobArena/waves/enums/WaveType.java | 1 - 5 files changed, 6 deletions(-) diff --git a/src/main/java/com/garbagemule/MobArena/MAUtils.java b/src/main/java/com/garbagemule/MobArena/MAUtils.java index 6ef11f2..1a9c1a0 100644 --- a/src/main/java/com/garbagemule/MobArena/MAUtils.java +++ b/src/main/java/com/garbagemule/MobArena/MAUtils.java @@ -5,7 +5,6 @@ import com.garbagemule.MobArena.framework.ArenaMaster; import com.garbagemule.MobArena.region.ArenaRegion; import com.garbagemule.MobArena.things.InvalidThingInputString; import com.garbagemule.MobArena.things.Thing; -import com.garbagemule.MobArena.util.ItemParser; import com.garbagemule.MobArena.util.TextUtils; import org.bukkit.Location; import org.bukkit.Material; @@ -26,7 +25,6 @@ import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; -import java.util.Random; import java.util.Set; public class MAUtils diff --git a/src/main/java/com/garbagemule/MobArena/framework/ArenaMaster.java b/src/main/java/com/garbagemule/MobArena/framework/ArenaMaster.java index e9cfa7e..921313c 100644 --- a/src/main/java/com/garbagemule/MobArena/framework/ArenaMaster.java +++ b/src/main/java/com/garbagemule/MobArena/framework/ArenaMaster.java @@ -9,7 +9,6 @@ import org.bukkit.Location; import org.bukkit.World; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; -import org.bukkit.inventory.PlayerInventory; import java.util.Collection; import java.util.List; diff --git a/src/main/java/com/garbagemule/MobArena/metrics/ClassChestsChart.java b/src/main/java/com/garbagemule/MobArena/metrics/ClassChestsChart.java index 3d34ad8..959c50d 100644 --- a/src/main/java/com/garbagemule/MobArena/metrics/ClassChestsChart.java +++ b/src/main/java/com/garbagemule/MobArena/metrics/ClassChestsChart.java @@ -1,7 +1,6 @@ package com.garbagemule.MobArena.metrics; import com.garbagemule.MobArena.MobArena; -import com.garbagemule.MobArena.framework.Arena; import org.bstats.bukkit.Metrics; public class ClassChestsChart extends Metrics.SimplePie { diff --git a/src/main/java/com/garbagemule/MobArena/util/config/ConfigUtils.java b/src/main/java/com/garbagemule/MobArena/util/config/ConfigUtils.java index 776183a..72b16df 100644 --- a/src/main/java/com/garbagemule/MobArena/util/config/ConfigUtils.java +++ b/src/main/java/com/garbagemule/MobArena/util/config/ConfigUtils.java @@ -11,7 +11,6 @@ import org.bukkit.plugin.Plugin; import java.io.File; import java.io.InputStream; -import java.io.InputStreamReader; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.HashMap; diff --git a/src/main/java/com/garbagemule/MobArena/waves/enums/WaveType.java b/src/main/java/com/garbagemule/MobArena/waves/enums/WaveType.java index 7babcd2..66c8192 100644 --- a/src/main/java/com/garbagemule/MobArena/waves/enums/WaveType.java +++ b/src/main/java/com/garbagemule/MobArena/waves/enums/WaveType.java @@ -2,7 +2,6 @@ package com.garbagemule.MobArena.waves.enums; import com.garbagemule.MobArena.Msg; import com.garbagemule.MobArena.framework.Arena; -import com.garbagemule.MobArena.waves.WaveUtils; public enum WaveType {