diff --git a/src/main/java/com/gmail/nossr50/skills/repair/Repair.java b/src/main/java/com/gmail/nossr50/skills/repair/Repair.java index 65f57c348..7e2a2f330 100644 --- a/src/main/java/com/gmail/nossr50/skills/repair/Repair.java +++ b/src/main/java/com/gmail/nossr50/skills/repair/Repair.java @@ -1,6 +1,5 @@ package com.gmail.nossr50.skills.repair; -import java.lang.reflect.Field; import java.util.Map; import java.util.Map.Entry; import java.util.Random; diff --git a/src/main/java/com/gmail/nossr50/util/Database.java b/src/main/java/com/gmail/nossr50/util/Database.java index 16a60f5fe..8f94d5d1d 100644 --- a/src/main/java/com/gmail/nossr50/util/Database.java +++ b/src/main/java/com/gmail/nossr50/util/Database.java @@ -287,9 +287,6 @@ public class Database { boolean isValid = false; boolean exists = (connection != null); - // Initialized as needed later - long timestamp=0; - // If we're waiting for server to recover then leave early if (nextReconnectTimestamp > 0 && nextReconnectTimestamp > System.nanoTime()) { return false; diff --git a/src/main/java/com/gmail/nossr50/util/Permissions.java b/src/main/java/com/gmail/nossr50/util/Permissions.java index 6cce4b1f2..c976b7b5b 100644 --- a/src/main/java/com/gmail/nossr50/util/Permissions.java +++ b/src/main/java/com/gmail/nossr50/util/Permissions.java @@ -4,8 +4,6 @@ import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class Permissions { - private static volatile Permissions instance; - public static boolean hasPermission(CommandSender sender, String perm) { if(sender.hasPermission(perm))