removed unnecessary overrided methods
This commit is contained in:
parent
a243dad433
commit
ea42d590ea
@ -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")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user