Better deprecation

This commit is contained in:
BuildTools 2019-01-15 18:57:02 -05:00
parent cff144479b
commit ef5f297928

View File

@ -52,7 +52,7 @@ public abstract class CustomObjective implements Listener {
}
/**
* Add a piece of datum to the data map
* Add a detailed piece of datum to the data map
* @param name
* @param o
*/
@ -63,6 +63,13 @@ public abstract class CustomObjective implements Listener {
data.put(name, null);
}
}
/**
* Add a blank piece of datum to the data map
* @param name
*/
public void addDatum(String name) {
data.put(name, null);
}
/**
* Add null data for name
@ -71,7 +78,7 @@ public abstract class CustomObjective implements Listener {
* @deprecated use addDatum()
*/
public void addData(String name) {
addDatum(name, null);
addDatum(name);
}
public Map<String, String> getDescriptions() {