Code cleanup.

This commit is contained in:
sk89q 2011-05-01 17:06:18 -07:00
parent d8288afe04
commit 5755755c15
2 changed files with 2 additions and 3 deletions

View File

@ -66,7 +66,7 @@ public boolean hasPermission(String name, String permission) {
}
}
@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 boolean inGroup(String name, String group) {
}
}
@SuppressWarnings({ "static-access", "deprecation" })
@SuppressWarnings({ "static-access" })
public String[] getGroups(String name) {
try {
Player player = server.getPlayer(name);

View File

@ -20,7 +20,6 @@
import java.util.HashSet;
import java.util.Set;
import java.util.ArrayList;
public class CommandContext {
protected String[] args;