#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

@@ -14,7 +14,7 @@ public interface Switch extends Directional, FaceAttachable, Powerable {
* @deprecated use {@link #getAttachedFace()}
*/
@NotNull
@Deprecated
@Deprecated(since = "1.15.2")
Face getFace();
/**
@@ -23,7 +23,7 @@ public interface Switch extends Directional, FaceAttachable, Powerable {
* @param face the new 'face' value
* @deprecated use {@link #getAttachedFace()}
*/
@Deprecated
@Deprecated(since = "1.15.2")
void setFace(@NotNull Face face);
/**
@@ -31,7 +31,7 @@ public interface Switch extends Directional, FaceAttachable, Powerable {
*
* @deprecated use {@link AttachedFace}
*/
@Deprecated
@Deprecated(since = "1.15.2")
public enum Face {
/**
* The switch is mounted to the floor and pointing upwards.

View File

@@ -24,7 +24,7 @@ public interface Vault extends Directional {
* @return the 'vault_state' value
* @deprecated see {@link #getVaultState()}
*/
@Deprecated(forRemoval = true)
@Deprecated(since = "1.21.3", forRemoval = true)
@NotNull
State getTrialSpawnerState();
@@ -41,7 +41,7 @@ public interface Vault extends Directional {
* @param state the new 'vault_state' value
* @deprecated see {@link #setVaultState(State)}
*/
@Deprecated(forRemoval = true)
@Deprecated(since = "1.21.3", forRemoval = true)
void setTrialSpawnerState(@NotNull State state);
/**