Clean up the javadoc to pass java 8's doclint

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
Bukkit/Spigot
2014-11-30 21:09:01 +00:00
parent 8344aacc6e
commit b2d54f59bb
156 changed files with 1155 additions and 501 deletions

View File

@@ -39,9 +39,10 @@ public class Potion {
}
/**
* @param type the type of the potion
* @param tier the tier of the potion
* @deprecated In favour of {@link #Potion(PotionType, int)}
*/
@SuppressWarnings("javadoc")
*/
@Deprecated
public Potion(PotionType type, Tier tier) {
this(type, tier == Tier.TWO ? 2 : 1);
@@ -49,19 +50,24 @@ public class Potion {
}
/**
* @param type the type of the potion
* @param tier the tier of the potion
* @param splash whether the potion is a splash potion
* @deprecated In favour of {@link #Potion(PotionType, int, boolean)}
*/
@SuppressWarnings("javadoc")
@Deprecated
public Potion(PotionType type, Tier tier, boolean splash) {
this(type, tier == Tier.TWO ? 2 : 1, splash);
}
/**
* @param type the type of the potion
* @param tier the tier of the potion
* @param splash whether the potion is a splash potion
* @param extended whether the potion has an extended duration
* @deprecated In favour of {@link #Potion(PotionType, int, boolean,
* boolean)}
*/
@SuppressWarnings("javadoc")
@Deprecated
public Potion(PotionType type, Tier tier, boolean splash, boolean extended) {
this(type, tier, splash);
@@ -381,6 +387,8 @@ public class Potion {
/**
*
* @param damage the damage value
* @return the produced potion
* @deprecated Magic value
*/
@Deprecated
@@ -433,6 +441,7 @@ public class Potion {
/**
*
* @return the name id
* @deprecated Magic value
*/
@Deprecated

View File

@@ -32,6 +32,7 @@ public enum PotionType {
/**
*
* @return the damage value
* @deprecated Magic value
*/
@Deprecated
@@ -49,6 +50,8 @@ public enum PotionType {
/**
*
* @param damage the damage value
* @return the matching potion type or null
* @deprecated Magic value
*/
@Deprecated