Apparently wrong JavaDocs kill the build now

This commit is contained in:
Dan Mulloy 2015-05-20 18:04:33 -04:00
parent 27f3f76c5e
commit abfb1ce9ac
2 changed files with 9 additions and 10 deletions

View File

@ -2,16 +2,16 @@
* ProtocolLib - Bukkit server library that allows access to the Minecraft protocol. * ProtocolLib - Bukkit server library that allows access to the Minecraft protocol.
* Copyright (C) 2012 Kristian S. Stangeland * Copyright (C) 2012 Kristian S. Stangeland
* *
* This program is free software; you can redistribute it and/or modify it under the terms of the * This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 2 of * GNU General Public License as published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version. * the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. * See the GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License along with this program; * You should have received a copy of the GNU General Public License along with this program;
* if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
* 02111-1307 USA * 02111-1307 USA
*/ */
@ -52,7 +52,7 @@ public interface AsynchronousManager {
/** /**
* Unregisters and closes the first asynchronous handler associated with the given listener. * Unregisters and closes the first asynchronous handler associated with the given listener.
* @param handler - asynchronous handler. * @param listener - asynchronous listener
*/ */
public abstract void unregisterAsyncHandler(PacketListener listener); public abstract void unregisterAsyncHandler(PacketListener listener);
@ -63,7 +63,7 @@ public interface AsynchronousManager {
public void unregisterAsyncHandlers(Plugin plugin); public void unregisterAsyncHandlers(Plugin plugin);
/** /**
* Retrieves a immutable set containing the ID of the sent server packets that will be * Retrieves a immutable set containing the ID of the sent server packets that will be
* observed by the asynchronous listeners. * observed by the asynchronous listeners.
* <p> * <p>
* Deprecated: Use {@link #getSendingTypes()} instead. * Deprecated: Use {@link #getSendingTypes()} instead.
@ -73,7 +73,7 @@ public interface AsynchronousManager {
public abstract Set<Integer> getSendingFilters(); public abstract Set<Integer> getSendingFilters();
/** /**
* Retrieves a immutable set containing the types of the sent server packets that will be * Retrieves a immutable set containing the types of the sent server packets that will be
* observed by the asynchronous listeners. * observed by the asynchronous listeners.
* @return Every filtered server packet. * @return Every filtered server packet.
*/ */

View File

@ -602,7 +602,6 @@ public class PacketType implements Serializable, Comparable<PacketType> {
/** /**
* Determine if the given legacy packet exists. * Determine if the given legacy packet exists.
* @param packetId - the legacy packet ID. * @param packetId - the legacy packet ID.
* @param preference - the sender preference.
* @return TRUE if it does, FALSE otherwise. * @return TRUE if it does, FALSE otherwise.
*/ */
public static boolean hasLegacy(int packetId) { public static boolean hasLegacy(int packetId) {