updated some references to old getLastLogMessages()

This commit is contained in:
fros4943 2008-10-03 15:18:48 +00:00
parent 66e361058a
commit 2a2b764ee6
3 changed files with 6 additions and 6 deletions

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: MspStackWatcher.java,v 1.3 2008/02/12 15:13:11 fros4943 Exp $
* $Id: MspStackWatcher.java,v 1.4 2008/10/03 15:18:48 fros4943 Exp $
*/
package se.sics.cooja.mspmote.plugins;
@ -109,7 +109,7 @@ public class MspStackWatcher extends VisPlugin {
/*if (logObserver == null && mspMote.getInterfaces().getLog() != null) {
mspMote.getInterfaces().getLog().addObserver(logObserver = new Observer() {
public void update(Observable obs, Object obj) {
stackUI.addNote(mspMote.getInterfaces().getLog().getLastLogMessages());
stackUI.addNote(mspMote.getInterfaces().getLog().getLastLogMessage());
}
});
}*/

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ContikiLog.java,v 1.4 2008/10/03 10:39:49 fros4943 Exp $
* $Id: ContikiLog.java,v 1.5 2008/10/03 15:18:48 fros4943 Exp $
*/
package se.sics.cooja.contikimote.interfaces;
@ -60,7 +60,7 @@ import se.sics.cooja.interfaces.Log;
* <p>
* This observable is changed and notifies observers whenever a log message has
* been received from the core (checked after each tick). The public method
* getLastLogMessages gives access to the last log message(s).
* getLastLogMessage gives access to the last log message.
*
* @author Fredrik Osterlind
*/

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: LogScriptEngine.java,v 1.3 2008/09/22 16:18:22 joxe Exp $
* $Id: LogScriptEngine.java,v 1.4 2008/10/03 15:18:48 fros4943 Exp $
*/
package se.sics.cooja.plugins;
@ -181,7 +181,7 @@ public class LogScriptEngine {
"if (obj != null) {" +
" mote = obj;" +
" id = mote.getInterfaces().getMoteID().getMoteID();" +
" msg = mote.getInterfaces().getLog().getLastLogMessages();" +
" msg = mote.getInterfaces().getLog().getLastLogMessage();" +
" node.setMoteMsg(mote, msg);" +
"} else {" +
" return;" +