Archiviert
13
0

Fix documentation.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2012-11-13 17:50:36 +01:00
Ursprung e28c2331e2
Commit b84161fde2
7 geänderte Dateien mit 3 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -99,7 +99,6 @@ public abstract class PacketAdapter implements PacketListener {
* Initialize a packet listener for a single connection side. * Initialize a packet listener for a single connection side.
* @param plugin - the plugin that spawned this listener. * @param plugin - the plugin that spawned this listener.
* @param connectionSide - the packet type the listener is looking for. * @param connectionSide - the packet type the listener is looking for.
* @param listenerPriority - the event priority.
* @param gamePhase - which game phase this listener is active under. * @param gamePhase - which game phase this listener is active under.
* @param packets - the packet IDs the listener is looking for. * @param packets - the packet IDs the listener is looking for.
*/ */

Datei anzeigen

@ -50,7 +50,6 @@ public interface ListenerInvoker {
/** /**
* Associate a given class with the given packet ID. Internal method. * Associate a given class with the given packet ID. Internal method.
* @param clazz - class to associate. * @param clazz - class to associate.
* @param packetID - the packet ID.
*/ */
public abstract void unregisterPacketClass(Class<?> clazz); public abstract void unregisterPacketClass(Class<?> clazz);

Datei anzeigen

@ -442,7 +442,6 @@ public class PlayerInjectionHandler {
* the method will try a workaround to remove the injected hook in the NetServerHandler. * the method will try a workaround to remove the injected hook in the NetServerHandler.
* *
* @param address - address of the player to unregister. * @param address - address of the player to unregister.
* @param serverHandler - whether or not the net server handler has already been created.
* @return TRUE if a player has been uninjected, FALSE otherwise. * @return TRUE if a player has been uninjected, FALSE otherwise.
*/ */
public boolean uninjectPlayer(InetSocketAddress address) { public boolean uninjectPlayer(InetSocketAddress address) {

Datei anzeigen

@ -35,7 +35,6 @@ public class PrettyPrinter {
* Print the content of an object. * Print the content of an object.
* @param object - the object to serialize. * @param object - the object to serialize.
* @param stop - superclass that will stop the process. * @param stop - superclass that will stop the process.
* @param depth - how far in the hierachy until we stop.
* @return String representation of the class. * @return String representation of the class.
* @throws IllegalAccessException * @throws IllegalAccessException
*/ */

Datei anzeigen

@ -87,7 +87,7 @@ public class StructureModifier<TField> {
* @param targetType - the structure to modify. * @param targetType - the structure to modify.
* @param superclassExclude - a superclass to exclude. * @param superclassExclude - a superclass to exclude.
* @param requireDefault - whether or not we will be using writeDefaults(). * @param requireDefault - whether or not we will be using writeDefaults().
* @param useStructureModifier - whether or not to automatically compile this structure modifier. * @param useStructureCompiler - whether or not to automatically compile this structure modifier.
*/ */
public StructureModifier(Class targetType, Class superclassExclude, boolean requireDefault, boolean useStructureCompiler) { public StructureModifier(Class targetType, Class superclassExclude, boolean requireDefault, boolean useStructureCompiler) {
List<Field> fields = getFields(targetType, superclassExclude); List<Field> fields = getFields(targetType, superclassExclude);
@ -137,7 +137,7 @@ public class StructureModifier<TField> {
* @param defaultFields - list of fields that will be automatically initialized. * @param defaultFields - list of fields that will be automatically initialized.
* @param converter - converts between the common field type and the actual type the consumer expects. * @param converter - converts between the common field type and the actual type the consumer expects.
* @param subTypeCache - a structure modifier cache. * @param subTypeCache - a structure modifier cache.
* @param useStructureModifier - whether or not to automatically compile this structure modifier. * @param useStructureCompiler - whether or not to automatically compile this structure modifier.
*/ */
protected void initialize(Class targetType, Class fieldType, protected void initialize(Class targetType, Class fieldType,
List<Field> data, Map<Field, Integer> defaultFields, List<Field> data, Map<Field, Integer> defaultFields,

Datei anzeigen

@ -30,7 +30,6 @@ public class ChatExtensions {
* Send a message without invoking the packet listeners. * Send a message without invoking the packet listeners.
* @param receiver - the receiver. * @param receiver - the receiver.
* @param message - the message to send. * @param message - the message to send.
* @return TRUE if the message was sent successfully, FALSE otherwise.
* @throws InvocationTargetException If we were unable to send the message. * @throws InvocationTargetException If we were unable to send the message.
*/ */
public void sendMessageSilently(CommandSender receiver, String message) throws InvocationTargetException { public void sendMessageSilently(CommandSender receiver, String message) throws InvocationTargetException {

Datei anzeigen

@ -73,7 +73,7 @@ public class WrappedDataWatcher {
/** /**
* Create a wrapper for a given data watcher. * Create a wrapper for a given data watcher.
* @param dataWatcher - the data watcher to wrap. * @param handle - the data watcher to wrap.
* @throws FieldAccessException If we're unable to wrap a DataWatcher. * @throws FieldAccessException If we're unable to wrap a DataWatcher.
*/ */
public WrappedDataWatcher(DataWatcher handle) { public WrappedDataWatcher(DataWatcher handle) {