Fix some javadoc warnings

Also remove a couple old/broken deprecated methods

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-05-20 20:29:33 +10:00
parent 7a2194f937
commit b2c53e8c68
21 changed files with 56 additions and 67 deletions

View File

@@ -26,7 +26,6 @@ public class Potion {
* water bottle.
*
* @param type The potion type
* @see #Potion(int)
*/
public Potion(@NotNull PotionType type) {
Validate.notNull(type, "Null PotionType");
@@ -77,14 +76,6 @@ public class Potion {
this.extended = extended;
}
/**
* @deprecated
*/
@Deprecated
public Potion(int name) {
this(PotionType.WATER);
}
/**
* Chain this to the constructor to make the potion a splash potion.
*