Update some javadoc deprecation notices

This commit is contained in:
Jordan Irwin 2022-01-19 17:30:46 -08:00
parent f6b08710d2
commit 944fc1cd46
6 changed files with 12 additions and 2 deletions

View file

@ -732,7 +732,7 @@ public class Entity implements RPObjectChangeListener, IEntity {
*
* @param object
* The object.
* @deprecated Moving to different listener. Use release().
* @deprecated Moving to different listener. Use {@link #release()}.
*/
@Override
@Deprecated

View file

@ -419,6 +419,8 @@ public abstract class RPEntity extends AudibleEntity {
* Get the outfit code.
*
* @return The outfit code.
* @deprecated
* Use {@link #getExtOutfit()}.
*/
@Deprecated
public int getOutfit() {

View file

@ -110,7 +110,7 @@ public class StendhalRPWorld extends RPWorld {
* Groovy bug has been resolved.
*
* @return StendhalRPWorld
* @deprecated use StendhalRPWorld.get()
* @deprecated use {@link #get()}.
*/
@Deprecated
public static StendhalRPWorld getInstance() {

View file

@ -217,6 +217,8 @@ public class LuaEntityHelper {
* The NPC instance of which path is being set.
* @param table
* Lua table with list of coordinates representing nodes.
* @deprecated
* Use {@link games.stendhal.server.entity.GuidedEntity#setPath(FixedPath).
*/
@Deprecated
public void setPath(final RPEntity entity, final LuaTable table, Boolean loop) {
@ -236,6 +238,8 @@ public class LuaEntityHelper {
* The NPC instance of which path is being set.
* @param table
* Lua table with list of coordinates representing nodes.
* @deprecated
* Use {@link games.stendhal.server.entity.GuidedEntity#setPathAndPosition(FixedPath)}.
*/
@Deprecated
public void setPathAndPosition(final RPEntity entity, final LuaTable table, Boolean loop) {

View file

@ -180,6 +180,8 @@ public abstract class GuidedEntity extends ActiveEntity {
/**
* backward compatibility
*
* @deprecated Use {@link #setRetracePath()}.
*/
@Deprecated
public void retracePath() {

View file

@ -295,6 +295,8 @@ public class Outfit {
* The index of the dress style, or null
* @param body
* The index of the body style, or null
* @deprecated
* Use {@link #Outfit(String)} or {@link #Outfit(Integer...)}.
*/
@Deprecated
public Outfit(final Integer detail, Integer hair, Integer head,