Clean up the javadoc to pass java 8's doclint
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
@@ -20,9 +20,9 @@ public class PlayerFishEvent extends PlayerEvent implements Cancellable {
|
||||
/**
|
||||
* @deprecated replaced by {@link #PlayerFishEvent(Player, Entity, Fish,
|
||||
* State)} to include the {@link Fish} hook entity.
|
||||
* @param player
|
||||
* @param entity
|
||||
* @param state
|
||||
* @param player the player fishing
|
||||
* @param entity the caught entity
|
||||
* @param state the state of fishing
|
||||
*/
|
||||
@Deprecated
|
||||
public PlayerFishEvent(final Player player, final Entity entity, final State state) {
|
||||
@@ -40,7 +40,7 @@ public class PlayerFishEvent extends PlayerEvent implements Cancellable {
|
||||
* Gets the entity caught by the player.
|
||||
* <p>
|
||||
* If player has fished successfully, the result may be cast to {@link
|
||||
* Item}.
|
||||
* org.bukkit.entity.Item}.
|
||||
*
|
||||
* @return Entity caught by the player, Entity if fishing, and null if
|
||||
* bobber has gotten stuck in the ground or nothing has been caught
|
||||
|
||||
@@ -17,6 +17,7 @@ public class PlayerLoginEvent extends PlayerEvent {
|
||||
|
||||
/**
|
||||
* @deprecated Address should be provided in other constructor
|
||||
* @param player The {@link Player} for this event
|
||||
*/
|
||||
@Deprecated
|
||||
public PlayerLoginEvent(final Player player) {
|
||||
@@ -25,6 +26,8 @@ public class PlayerLoginEvent extends PlayerEvent {
|
||||
|
||||
/**
|
||||
* @deprecated Address should be provided in other constructor
|
||||
* @param player The {@link Player} for this event
|
||||
* @param hostname The hostname that was used to connect to the server
|
||||
*/
|
||||
@Deprecated
|
||||
public PlayerLoginEvent(final Player player, final String hostname) {
|
||||
@@ -49,6 +52,9 @@ public class PlayerLoginEvent extends PlayerEvent {
|
||||
/**
|
||||
* @deprecated Address and hostname should be provided in other
|
||||
* constructor
|
||||
* @param player The {@link Player} for this event
|
||||
* @param result The result status for this event
|
||||
* @param message The message to be displayed if result denies login
|
||||
*/
|
||||
@Deprecated
|
||||
public PlayerLoginEvent(final Player player, final Result result, final String message) {
|
||||
|
||||
Reference in New Issue
Block a user