Why break when we can return?

This commit is contained in:
T00thpick1 2013-05-16 18:04:14 -04:00
parent 9678875b4b
commit 2cf58f1b5b

View File

@ -564,7 +564,7 @@ public final class SQLDatabaseManager {
+ "ADD INDEX `idx_acrobatics` (`acrobatics`) USING BTREE, " + "ADD INDEX `idx_acrobatics` (`acrobatics`) USING BTREE, "
+ "ADD INDEX `idx_fishing` (`fishing`) USING BTREE;"); + "ADD INDEX `idx_fishing` (`fishing`) USING BTREE;");
} }
break; return;
case MOB_HEALTHBARS: case MOB_HEALTHBARS:
sql = "SELECT * FROM `" + tablePrefix + "huds` ORDER BY `" + tablePrefix + "huds`.`mobhealthbar` ASC LIMIT 0 , 30"; sql = "SELECT * FROM `" + tablePrefix + "huds` ORDER BY `" + tablePrefix + "huds`.`mobhealthbar` ASC LIMIT 0 , 30";
@ -572,7 +572,7 @@ public final class SQLDatabaseManager {
case PARTY_NAMES: case PARTY_NAMES:
write("ALTER TABLE `" + tablePrefix + "users` DROP COLUMN `party` ;"); write("ALTER TABLE `" + tablePrefix + "users` DROP COLUMN `party` ;");
break; return;
case KILL_ORPHANS: case KILL_ORPHANS:
mcMMO.p.getLogger().info("Killing orphans"); mcMMO.p.getLogger().info("Killing orphans");
@ -600,7 +600,7 @@ public final class SQLDatabaseManager {
tablePrefix + "users u WHERE " + tablePrefix + "users u WHERE " +
tablePrefix + "skills.user_id = u.id);" tablePrefix + "skills.user_id = u.id);"
); );
break; return;
default: default:
break; break;