Fix javadocs for java 8 doclint

This commit is contained in:
Jonas Konrad 2014-06-28 00:39:27 +02:00 committed by md_5
parent a53b63720b
commit afa37505c5
8 changed files with 12 additions and 24 deletions

View File

@ -315,8 +315,6 @@ public abstract class BaseComponent
/** /**
* Returns whether the component has any formatting or events applied to it * Returns whether the component has any formatting or events applied to it
*
* @return
*/ */
public boolean hasFormatting() public boolean hasFormatting()
{ {

View File

@ -4,6 +4,7 @@ import lombok.AllArgsConstructor;
import lombok.Getter; import lombok.Getter;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import net.md_5.bungee.api.chat.ClickEvent.Action;
@Getter @Getter
@AllArgsConstructor @AllArgsConstructor
@ -17,7 +18,7 @@ final public class ClickEvent
/** /**
* Depends on action * Depends on action
* *
* @see net.md_5.bungee.api.chat.ClickEvent.Action * @see Action
*/ */
private final String value; private final String value;
@ -26,22 +27,22 @@ final public class ClickEvent
/** /**
* Open a url at the path given by * Open a url at the path given by
* {@link net.md_5.bungee.api.chat.ClickEvent#getValue()} * {@link net.md_5.bungee.api.chat.ClickEvent#value}
*/ */
OPEN_URL, OPEN_URL,
/** /**
* Open a file at the path given by * Open a file at the path given by
* {@link net.md_5.bungee.api.chat.ClickEvent#getValue()} * {@link net.md_5.bungee.api.chat.ClickEvent#value}
*/ */
OPEN_FILE, OPEN_FILE,
/** /**
* Run the command given by * Run the command given by
* {@link net.md_5.bungee.api.chat.ClickEvent#getValue()} * {@link net.md_5.bungee.api.chat.ClickEvent#value}
*/ */
RUN_COMMAND, RUN_COMMAND,
/** /**
* Inserts the string given by * Inserts the string given by
* {@link net.md_5.bungee.api.chat.ClickEvent#getValue()} into the * {@link net.md_5.bungee.api.chat.ClickEvent#value} into the
* players text box * players text box
*/ */
SUGGEST_COMMAND SUGGEST_COMMAND

View File

@ -7,21 +7,22 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
* <p>
* ComponentBuilder simplifies creating basic messages by allowing the use of a * ComponentBuilder simplifies creating basic messages by allowing the use of a
* chainable builder. * chainable builder.
* <p/> * </p>
* < * <pre>
* pre>
* new ComponentBuilder("Hello ").color(ChatColor.RED). * new ComponentBuilder("Hello ").color(ChatColor.RED).
* append("World").color(ChatColor.BLUE). append("!").bold(true).create(); * append("World").color(ChatColor.BLUE). append("!").bold(true).create();
* </pre> * </pre>
* <p/> * <p>
* All methods (excluding {@link #append(String)} and {@link #create()} work on * All methods (excluding {@link #append(String)} and {@link #create()} work on
* the last part appended to the builder, so in the example above "Hello " would * the last part appended to the builder, so in the example above "Hello " would
* be {@link net.md_5.bungee.api.ChatColor#RED} and "World" would be * be {@link net.md_5.bungee.api.ChatColor#RED} and "World" would be
* {@link net.md_5.bungee.api.ChatColor#BLUE} but "!" would be bold and * {@link net.md_5.bungee.api.ChatColor#BLUE} but "!" would be bold and
* {@link net.md_5.bungee.api.ChatColor#BLUE} because append copies the previous * {@link net.md_5.bungee.api.ChatColor#BLUE} because append copies the previous
* part's formatting * part's formatting
* </p>
*/ */
public class ComponentBuilder public class ComponentBuilder
{ {

View File

@ -34,7 +34,7 @@ public class TranslatableComponent extends BaseComponent
/** /**
* Creates a translatable component with the passed substitutions * Creates a translatable component with the passed substitutions
* *
* @see #setTranslate(String) * @see #translate
* @see #setWith(java.util.List) * @see #setWith(java.util.List)
* @param translate the translation key * @param translate the translation key
* @param with the {@link java.lang.String}s and * @param with the {@link java.lang.String}s and

View File

@ -63,8 +63,6 @@ public interface PendingConnection extends Connection
/** /**
* Set this connection's online mode. * Set this connection's online mode.
*
* @param onlineMode
*/ */
void setOnlineMode(boolean onlineMode); void setOnlineMode(boolean onlineMode);
} }

View File

@ -397,8 +397,6 @@ public class PluginManager
/** /**
* Unregister all of a Plugin's listener. * Unregister all of a Plugin's listener.
*
* @param plugin
*/ */
public void unregisterListeners(Plugin plugin) public void unregisterListeners(Plugin plugin)
{ {

View File

@ -25,8 +25,6 @@ public interface TabListHandler
/** /**
* Called when a player first connects to the proxy. * Called when a player first connects to the proxy.
*
* @param player the connecting player
*/ */
void onServerChange(); void onServerChange();
@ -34,22 +32,18 @@ public interface TabListHandler
* Called when a players ping changes. The new ping will have not updated in * Called when a players ping changes. The new ping will have not updated in
* the player instance until this method returns. * the player instance until this method returns.
* *
* @param player the player who's ping changed
* @param ping the player's new ping. * @param ping the player's new ping.
*/ */
void onPingChange(int ping); void onPingChange(int ping);
/** /**
* Called when a player disconnects. * Called when a player disconnects.
*
* @param player the disconnected player
*/ */
void onDisconnect(); void onDisconnect();
/** /**
* Called when a list update packet is sent from server to client. * Called when a list update packet is sent from server to client.
* *
* @param player receiving this packet
* @param name the player which this packet is relevant to * @param name the player which this packet is relevant to
* @param online whether the subject player is online * @param online whether the subject player is online
* @param ping ping of the subject player * @param ping ping of the subject player

View File

@ -31,8 +31,6 @@ public class Team extends DefinedPacket
/** /**
* Packet to destroy a team. * Packet to destroy a team.
*
* @param name
*/ */
public Team(String name) public Team(String name)
{ {