Remove last test and various changes
This commit is contained in:
parent
24ed74446b
commit
176fde313e
@ -194,7 +194,7 @@ public class JailManager {
|
||||
* @return True if a valid jail was found, false if no jail was found.
|
||||
*/
|
||||
public boolean isValidJail(String name) {
|
||||
return this.jails.get(name.toLowerCase()) != null;
|
||||
return this.jails.containsKey(name.toLowerCase());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -24,7 +24,7 @@ import com.graywolf336.jail.enums.Lang;
|
||||
permission = "jail.command.jailcheck",
|
||||
usage = "/jail check [name]"
|
||||
)
|
||||
public class JailCheckCommand implements Command{
|
||||
public class JailCheckCommand implements Command {
|
||||
|
||||
// Checks the status of the specified prisoner
|
||||
public boolean execute(JailManager jm, CommandSender sender, String... args) {
|
||||
|
@ -46,11 +46,6 @@ public class TestJailAPI {
|
||||
creator.tearDown();
|
||||
main = null;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBuildNumber() {
|
||||
assertSame("The build version from the api was not 0.", 0, JailsAPI.getBuildNumber());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testManagersAreThere() {
|
||||
|
Loading…
Reference in New Issue
Block a user