From ea42d590eaf03d55058e242d23d9e9874e4f88c8 Mon Sep 17 00:00:00 2001 From: Fredrik Osterlind Date: Tue, 6 Mar 2012 09:22:12 +0100 Subject: [PATCH] removed unnecessary overrided methods --- .../sics/cooja/mspmote/interfaces/MspMoteID.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/interfaces/MspMoteID.java b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/interfaces/MspMoteID.java index b330ab326..4bc64c175 100644 --- a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/interfaces/MspMoteID.java +++ b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/interfaces/MspMoteID.java @@ -183,22 +183,6 @@ public class MspMoteID extends MoteID { this.deleteObserver(observer); } - public Collection getConfigXML() { - ArrayList config = new ArrayList(); - Element element = new Element("id"); - element.setText(Integer.toString(getMoteID())); - config.add(element); - return config; - } - - public void setConfigXML(Collection configXML, boolean visAvailable) { - for (Element element : configXML) { - if (element.getName().equals("id")) { - setMoteID(Integer.parseInt(element.getText())); - } - } - } - public void removed() { super.removed(); if (moteMem.variableExists("node_id")) {