Remove last test and various changes

This commit is contained in:
graywolf336 2015-06-03 16:39:20 -05:00
parent 24ed74446b
commit 176fde313e
3 changed files with 2 additions and 7 deletions

View File

@ -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());
}
/**

View File

@ -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) {

View File

@ -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() {