Deprecate magic values

This commit is contained in:
Wesley Wolfe
2013-08-19 13:32:18 -05:00
parent 52215c6171
commit 1f83111208
108 changed files with 1194 additions and 11 deletions

View File

@@ -69,7 +69,9 @@ public enum Art {
* Get the ID of this painting.
*
* @return The ID of this painting
* @deprecated Magic value
*/
@Deprecated
public int getId() {
return id;
}
@@ -79,7 +81,9 @@ public enum Art {
*
* @param id The ID
* @return The painting
* @deprecated Magic value
*/
@Deprecated
public static Art getById(int id) {
return BY_ID.get(id);
}