Fixing documentation.

This commit is contained in:
Kristian S. Stangeland 2012-09-18 17:20:48 +02:00
parent ad6fbae5d6
commit cd9fa1cdf6
5 changed files with 4 additions and 6 deletions

View File

@ -131,7 +131,7 @@ public interface ProtocolManager {
/**
* Construct a packet using the special builtin Minecraft constructors.
* @param id - the packet ID.
* @param argumentTypes - arguments that will be passed to the constructor.
* @param arguments - arguments that will be passed to the constructor.
* @return The packet constructor.
*/
public PacketConstructor createPacketConstructor(int id, Object... arguments);

View File

@ -62,7 +62,7 @@ public class PacketConstructor {
/**
* Return a copy of the current constructor with a different list of unwrappers.
* @param unwrappers - list of unwrappers that convert Bukkit wrappers into the equivalent NMS classes.
* @return
* @return A constructor with a different set of unwrappers.
*/
public PacketConstructor withUnwrappers(List<Unwrapper> unwrappers) {
return new PacketConstructor(constructorMethod, unwrappers);

View File

@ -208,7 +208,7 @@ public class FuzzyReflection {
* <li>net.comphenix.xp.ExperienceMod</li>
* </ul>
* @param typeRegex - regular expression that will match the field type.
* @param ignoredTypes - types to ignore.
* @param ignored - types to ignore.
* @return The first field with a type that matches the given regular expression.
*/
@SuppressWarnings("rawtypes")

View File

@ -52,7 +52,7 @@ public class IntEnum {
/**
* Determines whether or not the given member exists.
* @param packetID - the ID of the member to find.
* @param id - the ID of the member to find.
* @return TRUE if a member with the given ID exists, FALSE otherwise.
*/
public boolean hasMember(int id) {

View File

@ -49,7 +49,6 @@ public class DefaultInstances {
/**
* Construct a default instance generator using the given instance providers.
* @param registered - list of instance providers.
* @param stringDefault - default string value.
*/
public DefaultInstances(ImmutableList<InstanceProvider> registered) {
this.registered = registered;
@ -58,7 +57,6 @@ public class DefaultInstances {
/**
* Construct a default instance generator using the given instance providers.
* @param instaceProviders - array of instance providers.
* @return An default instance generator.
*/
public DefaultInstances(InstanceProvider... instaceProviders) {
this(ImmutableList.copyOf(instaceProviders));