From 5755755c1552a8d39777ce536678ac49a2f9a798 Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 1 May 2011 17:06:18 -0700 Subject: [PATCH] Code cleanup. --- .../com/sk89q/bukkit/migration/NijiPermissionsResolver.java | 4 ++-- .../com/sk89q/minecraft/util/commands/CommandContext.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sk89q/bukkit/migration/NijiPermissionsResolver.java b/src/main/java/com/sk89q/bukkit/migration/NijiPermissionsResolver.java index bb54011f4..32d12e032 100644 --- a/src/main/java/com/sk89q/bukkit/migration/NijiPermissionsResolver.java +++ b/src/main/java/com/sk89q/bukkit/migration/NijiPermissionsResolver.java @@ -66,7 +66,7 @@ public class NijiPermissionsResolver implements PermissionsResolver { } } - @SuppressWarnings({ "static-access", "deprecation" }) + @SuppressWarnings({ "static-access" }) public boolean inGroup(String name, String group) { try { Player player = server.getPlayer(name); @@ -82,7 +82,7 @@ public class NijiPermissionsResolver implements PermissionsResolver { } } - @SuppressWarnings({ "static-access", "deprecation" }) + @SuppressWarnings({ "static-access" }) public String[] getGroups(String name) { try { Player player = server.getPlayer(name); diff --git a/src/main/java/com/sk89q/minecraft/util/commands/CommandContext.java b/src/main/java/com/sk89q/minecraft/util/commands/CommandContext.java index 3e00a5f9f..6c2e6616d 100644 --- a/src/main/java/com/sk89q/minecraft/util/commands/CommandContext.java +++ b/src/main/java/com/sk89q/minecraft/util/commands/CommandContext.java @@ -20,7 +20,6 @@ package com.sk89q.minecraft.util.commands; import java.util.HashSet; import java.util.Set; -import java.util.ArrayList; public class CommandContext { protected String[] args;