#1082: Add "since" to Deprecation annotations
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user