From 8dd4025248a6f88267886a3c729943d5e5dfcc2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=27Morty=27=20Str=C3=BCbe?= Date: Thu, 20 Feb 2014 12:59:30 +0100 Subject: [PATCH 1/2] Fix documentation --- .../contikios/cooja/contikimote/interfaces/ContikiRadio.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cooja/java/org/contikios/cooja/contikimote/interfaces/ContikiRadio.java b/tools/cooja/java/org/contikios/cooja/contikimote/interfaces/ContikiRadio.java index 9e9ebb691..ebe24e52a 100644 --- a/tools/cooja/java/org/contikios/cooja/contikimote/interfaces/ContikiRadio.java +++ b/tools/cooja/java/org/contikios/cooja/contikimote/interfaces/ContikiRadio.java @@ -252,7 +252,7 @@ public class ContikiRadio extends Radio implements ContikiMoteInterface, PolledA /** Set LQI to a value between 0 and 255. * - * @see se.sics.cooja.interfaces.Radio#setLQI(int) + * @see org.contikios.cooja.interfaces.Radio#setLQI(int) */ public void setLQI(int lqi){ if(lqi<0) { From 19e7611061b640e517923c62d8fffa65da83ed58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=27Morty=27=20Str=C3=BCbe?= Date: Thu, 20 Feb 2014 12:59:12 +0100 Subject: [PATCH 2/2] Fix backwards compatibility --- .../org/contikios/cooja/radiomediums/DirectedGraphMedium.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/cooja/java/org/contikios/cooja/radiomediums/DirectedGraphMedium.java b/tools/cooja/java/org/contikios/cooja/radiomediums/DirectedGraphMedium.java index c9bac3f0d..48d90a0f8 100644 --- a/tools/cooja/java/org/contikios/cooja/radiomediums/DirectedGraphMedium.java +++ b/tools/cooja/java/org/contikios/cooja/radiomediums/DirectedGraphMedium.java @@ -380,6 +380,9 @@ public void simulationFinishedLoading() { if (destClassName == null || destClassName.isEmpty()) { continue; } + /* Backwards compatibility: se.sics -> org.contikios */ + destClassName = destClassName.replaceFirst("^se\\.sics", "org.contikios"); + Class destClass = simulation.getCooja().tryLoadClass(this, DGRMDestinationRadio.class, destClassName); if (destClass == null) {