#1082: Add "since" to Deprecation annotations

By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
Bukkit/Spigot
2024-11-25 07:52:33 +11:00
parent 98f6ab9a04
commit 0023e5549a
257 changed files with 1523 additions and 1176 deletions

View File

@@ -25,7 +25,7 @@ public interface Ageable extends Creature {
* @param lock new lock
* @deprecated see {@link Breedable#setAgeLock(boolean)}
*/
@Deprecated
@Deprecated(since = "1.16.2")
public void setAgeLock(boolean lock);
/**
@@ -34,7 +34,7 @@ public interface Ageable extends Creature {
* @return the current agelock
* @deprecated see {@link Breedable#getAgeLock()}
*/
@Deprecated
@Deprecated(since = "1.16.2")
public boolean getAgeLock();
/**
@@ -60,7 +60,7 @@ public interface Ageable extends Creature {
* @return the ability to breed of the animal
* @deprecated see {@link Breedable#canBreed()}
*/
@Deprecated
@Deprecated(since = "1.16.2")
public boolean canBreed();
/**
@@ -70,6 +70,6 @@ public interface Ageable extends Creature {
* @param breed breedability of the animal
* @deprecated see {@link Breedable#setBreed(boolean)}
*/
@Deprecated
@Deprecated(since = "1.16.2")
public void setBreed(boolean breed);
}