#1082: Add "since" to Deprecation annotations
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -28,7 +28,7 @@ public interface Skull extends TileState {
|
||||
* @return the owner of the skull or null if the skull does not have an owner
|
||||
* @deprecated See {@link #getOwningPlayer()}.
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "1.9.4")
|
||||
@Nullable
|
||||
public String getOwner();
|
||||
|
||||
@@ -42,7 +42,7 @@ public interface Skull extends TileState {
|
||||
* @return true if the owner was successfully set
|
||||
* @deprecated see {@link #setOwningPlayer(org.bukkit.OfflinePlayer)}.
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "1.94")
|
||||
@Contract("null -> false")
|
||||
public boolean setOwner(@Nullable String name);
|
||||
|
||||
@@ -115,7 +115,7 @@ public interface Skull extends TileState {
|
||||
* @return the rotation of the skull
|
||||
* @deprecated use {@link BlockData}
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "1.13")
|
||||
@NotNull
|
||||
public BlockFace getRotation();
|
||||
|
||||
@@ -126,7 +126,7 @@ public interface Skull extends TileState {
|
||||
* @param rotation the rotation of the skull
|
||||
* @deprecated use {@link BlockData}
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "1.13")
|
||||
public void setRotation(@NotNull BlockFace rotation);
|
||||
|
||||
/**
|
||||
@@ -135,7 +135,7 @@ public interface Skull extends TileState {
|
||||
* @return the type of skull
|
||||
* @deprecated check {@link Material} instead
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "1.13")
|
||||
@NotNull
|
||||
public SkullType getSkullType();
|
||||
|
||||
@@ -145,7 +145,7 @@ public interface Skull extends TileState {
|
||||
* @param skullType the type of skull
|
||||
* @deprecated check {@link Material} instead
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "1.13")
|
||||
@Contract("_ -> fail")
|
||||
public void setSkullType(SkullType skullType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user