Fix checkstyle violations

This commit is contained in:
Eric Stokes 2012-01-29 15:56:57 -07:00
parent dde3b63fb9
commit e8a72d19e1
4 changed files with 8 additions and 7 deletions

View File

@ -29,7 +29,8 @@ public class CreateCommand extends MultiverseCommand {
public CreateCommand(MultiverseCore plugin) {
super(plugin);
this.setName("Create World");
this.setCommandUsage("/mv create" + ChatColor.GREEN + " {NAME} {ENV}" + ChatColor.GOLD + " -s [SEED] -g [GENERATOR[:ID]] -t [WORLDTYPE] [-n] -a [true|false]");
this.setCommandUsage(String.format("/mv create %s{NAME} {ENV} %s-s [SEED] -g [GENERATOR[:ID]] -t [WORLDTYPE] [-n] -a [true|false]",
ChatColor.GREEN, ChatColor.GOLD));
this.setArgRange(2, 11); // SUPPRESS CHECKSTYLE: MagicNumberCheck
this.addKey("mvcreate");
this.addKey("mvc");

View File

@ -10,7 +10,7 @@ package com.onarandombox.MultiverseCore.enums;
import org.bukkit.PortalType;
/**
* Custom enum that adds all/none for allowing
* Custom enum that adds all/none for allowing portal creation.
*/
public enum AllowedPortalType {
/**

View File

@ -45,7 +45,7 @@ public class MVPortalListener implements Listener {
/**
* This is called when a portal is created as the result of another world being linked.
* @param event
* @param event The event where a portal was formed due to a world link
*/
@EventHandler
public void portalForm(PortalCreateEvent event) {