StringBuilder, rename local, javadocs

This commit is contained in:
riking
2014-06-03 18:18:43 -07:00
parent c4b48df0ee
commit d32a077359
4 changed files with 8 additions and 14 deletions

View File

@@ -350,7 +350,6 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
// Parse to horse color
} else if (param.getSimpleName().equals("Color")) {
try {
value = param.getMethod("valueOf", String.class).invoke(null, valueString.toUpperCase());
} catch (Exception ex) {
throw parseToException("a horse color", valueString, methodName);

View File

@@ -30,7 +30,6 @@ import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.entity.Zombie;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
import org.bukkit.util.Vector;
import com.comphenix.protocol.PacketType;
@@ -175,8 +174,7 @@ public class DisguiseUtilities {
}
/**
* @param Sends
* entity removal packets, as this disguise was removed
* Sends entity removal packets, as this disguise was removed
*/
public static void destroyEntity(TargetedDisguise disguise) {
try {
@@ -461,8 +459,7 @@ public class DisguiseUtilities {
}
/**
* @param Resends
* the entity to this specific player
* Resends the entity to this specific player
*/
public static void refreshTracker(TargetedDisguise disguise, String player) {
if (disguise.getEntity() != null && disguise.getEntity().isValid()) {
@@ -495,8 +492,7 @@ public class DisguiseUtilities {
}
/**
* @param A
* convidence method for me to refresh trackers in other plugins
* A convenience method for me to refresh trackers in other plugins
*/
public static void refreshTrackers(Entity entity) {
if (entity.isValid()) {
@@ -532,8 +528,7 @@ public class DisguiseUtilities {
}
/**
* @param Resends
* the entity to all the watching players, which is where the magic begins
* Resends the entity to all the watching players, which is where the magic begins
*/
public static void refreshTrackers(TargetedDisguise disguise) {
try {