From 74ecb14a33e8d3c5d8d80f7e61b985ec13cf987b Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Tue, 22 Jan 2013 13:33:24 +0100 Subject: [PATCH] Fixed a couple of mistakes in the JavaDoc. --- .../src/main/java/com/comphenix/protocol/Packets.java | 2 +- .../java/com/comphenix/protocol/reflect/PrettyPrinter.java | 1 - .../com/comphenix/protocol/utility/MinecraftReflection.java | 5 +++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/Packets.java b/ProtocolLib/src/main/java/com/comphenix/protocol/Packets.java index 1509c411..1d364779 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/Packets.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/Packets.java @@ -60,7 +60,7 @@ public final class Packets { public static final int ARM_ANIMATION = 18; public static final int NAMED_ENTITY_SPAWN = 20; /** - * Removed in 1.4.6 and replaced with {@link VEHICLE_SPAWN}. + * Removed in 1.4.6 and replaced with VEHICLE_SPAWN. * @see Protocol History - MinecraftCoalition */ @Deprecated() diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/reflect/PrettyPrinter.java b/ProtocolLib/src/main/java/com/comphenix/protocol/reflect/PrettyPrinter.java index f33fb1b2..f61c2727 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/reflect/PrettyPrinter.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/reflect/PrettyPrinter.java @@ -40,7 +40,6 @@ public class PrettyPrinter { /** * Print the content of an object. * @param object - the object to serialize. - * @param stop - superclass that will stop the process. * @return String representation of the class. * @throws IllegalAccessException */ diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/utility/MinecraftReflection.java b/ProtocolLib/src/main/java/com/comphenix/protocol/utility/MinecraftReflection.java index f9924a3a..fd9d6496 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/utility/MinecraftReflection.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/utility/MinecraftReflection.java @@ -221,7 +221,7 @@ public class MinecraftReflection { /** * Determine if the given object is a NMS ItemStack. - * @param obj - the given object. + * @param value - the given object. * @return TRUE if it is, FALSE otherwise. */ public static boolean isItemStack(Object value) { @@ -549,7 +549,8 @@ public class MinecraftReflection { /** * Retrieve the first class that matches a specified Minecraft name. - * @param classes - the specific Minecraft class. + * @param className - the specific Minecraft class. + * @param aliases - alternative names for this Minecraft class. * @return Class object. * @throws RuntimeException If we are unable to find any of the given classes. */