removed unnecessary overrided methods

This commit is contained in:
Fredrik Osterlind 2012-03-06 09:22:12 +01:00
parent a243dad433
commit ea42d590ea

View File

@ -183,22 +183,6 @@ public class MspMoteID extends MoteID {
this.deleteObserver(observer); this.deleteObserver(observer);
} }
public Collection<Element> getConfigXML() {
ArrayList<Element> config = new ArrayList<Element>();
Element element = new Element("id");
element.setText(Integer.toString(getMoteID()));
config.add(element);
return config;
}
public void setConfigXML(Collection<Element> configXML, boolean visAvailable) {
for (Element element : configXML) {
if (element.getName().equals("id")) {
setMoteID(Integer.parseInt(element.getText()));
}
}
}
public void removed() { public void removed() {
super.removed(); super.removed();
if (moteMem.variableExists("node_id")) { if (moteMem.variableExists("node_id")) {