Fixed high priority style warnings

This commit is contained in:
main() 2012-10-23 16:47:21 +02:00
parent 3ad7d86f74
commit 85cd71cb8a
7 changed files with 20 additions and 23 deletions

View File

@ -251,6 +251,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core, Listen
/** /**
* {@inheritDoc} * {@inheritDoc}
* @deprecated Now using Vault.
*/ */
@Override @Override
@Deprecated @Deprecated
@ -1045,6 +1046,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core, Listen
/** /**
* {@inheritDoc} * {@inheritDoc}
* @deprecated Now using Vault.
*/ */
@Override @Override
@Deprecated @Deprecated
@ -1054,6 +1056,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core, Listen
/** /**
* {@inheritDoc} * {@inheritDoc}
* @deprecated Now using Vault.
*/ */
@Override @Override
@Deprecated @Deprecated

View File

@ -11,13 +11,7 @@ import buscript.Buscript;
import com.fernferret.allpay.AllPay; import com.fernferret.allpay.AllPay;
import com.fernferret.allpay.GenericBank; import com.fernferret.allpay.GenericBank;
import com.onarandombox.MultiverseCore.destination.DestinationFactory; import com.onarandombox.MultiverseCore.destination.DestinationFactory;
import com.onarandombox.MultiverseCore.utils.AnchorManager; import com.onarandombox.MultiverseCore.utils.*;
import com.onarandombox.MultiverseCore.utils.MVPermissions;
import com.onarandombox.MultiverseCore.utils.MVPlayerSession;
import com.onarandombox.MultiverseCore.utils.SimpleBlockSafety;
import com.onarandombox.MultiverseCore.utils.SimpleLocationManipulation;
import com.onarandombox.MultiverseCore.utils.SimpleSafeTTeleporter;
import com.onarandombox.MultiverseCore.utils.WorldManager;
import com.pneumaticraft.commandhandler.CommandHandler; import com.pneumaticraft.commandhandler.CommandHandler;
import net.milkbowl.vault.economy.Economy; import net.milkbowl.vault.economy.Economy;
import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.FileConfiguration;

View File

@ -61,8 +61,7 @@ public class SubSpawnSettings extends SerializationConfig {
} }
/** /**
* * @param rate The new spawn rate
* @param The new spawn rate
*/ */
public void setSpawnRate(int rate) { public void setSpawnRate(int rate) {
this.spawnrate = rate; this.spawnrate = rate;

View File

@ -46,7 +46,7 @@ public class FileUtils {
} }
/** /**
* Used to delete the contents of a folder, without deleting the folder itself * Used to delete the contents of a folder, without deleting the folder itself.
* *
* @param file The folder whose contents to delete. * @param file The folder whose contents to delete.
* @return true if the contents were successfully deleted * @return true if the contents were successfully deleted

View File

@ -27,10 +27,11 @@ import java.util.Set;
*/ */
public class SimpleBlockSafety implements BlockSafety { public class SimpleBlockSafety implements BlockSafety {
private final Core plugin; private final Core plugin;
private final static Set<BlockFace> AROUND_BLOCK = new HashSet<BlockFace>(){{ add(BlockFace.NORTH); add(BlockFace.NORTH_EAST); private static final Set<BlockFace> AROUND_BLOCK = new HashSet<BlockFace>() {{
add(BlockFace.EAST); add(BlockFace.SOUTH_EAST); add(BlockFace.NORTH); add(BlockFace.NORTH_EAST); add(BlockFace.EAST); add(BlockFace.SOUTH_EAST);
add(BlockFace.SOUTH); add(BlockFace.SOUTH_WEST); add(BlockFace.SOUTH); add(BlockFace.SOUTH_WEST); add(BlockFace.WEST); add(BlockFace.NORTH_WEST);
add(BlockFace.WEST); add(BlockFace.NORTH_WEST); }}; }
};
public SimpleBlockSafety(Core plugin) { public SimpleBlockSafety(Core plugin) {
this.plugin = plugin; this.plugin = plugin;