Permalink
Browse files

CheckStyle: Fix MissingDeprecated violations

Fix MissingDeprecated checkstyle violations.
  • Loading branch information...
Pieter12345 committed Jun 8, 2018
1 parent 8f3c5f3 commit 19327ef4af273ea8641b34d04409f3c98b0bcc89
@@ -246,6 +246,7 @@ private Boolean getBoolean(String value) {
* @param name
* @return
*/
@Deprecated
public Object getPreference(String name) {
if(prefs.get(name).objectValue == null) {
prefs.get(name).objectValue = getObject(prefs.get(name).value, prefs.get(name));
@@ -9,6 +9,9 @@
short getDurability();
/**
* @deprecated Magic value
*/
@Deprecated
int getTypeId();
@@ -24,6 +27,9 @@
MCMaterial getType();
/**
* @deprecated Magic value
*/
@Deprecated
void setTypeId(int type);
@@ -13,18 +13,27 @@
MCMaterial getType();
/**
* @deprecated Magic value
*/
@Deprecated
int getTypeId();
byte getData();
void setType(MCMaterial mat);
/**
* @deprecated Magic value
*/
@Deprecated
void setTypeId(int idata);
void setData(byte imeta);
/**
* @deprecated Magic value
*/
@Deprecated
void setTypeAndData(int type, byte data, boolean physics);
@@ -10,9 +10,15 @@
MCMaterial getType();
/**
* @deprecated Magic value
*/
@Deprecated
int getTypeId();
/**
* @deprecated Magic value
*/
@Deprecated
void setTypeId(int type);
@@ -619,6 +619,7 @@ public static String getBlockPrefix() {
* @param qty
* @throws CREFormatException If the notation is invalid.
* @return
* @deprecated Use {@link StaticLayer#GetItemStack(int, int, int)} instead.
*/
@Deprecated
public static MCItemStack ParseItemNotation(String functionName, String notation, int qty, Target t) {

0 comments on commit 19327ef

Please sign in to comment.