X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45c3f1cfee86fb48c96d53f8267f99b6db6e3d7a..dcfc5e64fe6bd50e160375dcdc5b480cba75217f:/examples/java/cloud/Slave.java diff --git a/examples/java/cloud/Slave.java b/examples/java/cloud/Slave.java index 7aaa48e10f..d97b0be612 100644 --- a/examples/java/cloud/Slave.java +++ b/examples/java/cloud/Slave.java @@ -19,7 +19,7 @@ public class Slave extends Process { this.number = number; } public void main(String[] args) throws MsgException { - Msg.info(this.msgName() +" is listenning on MBOX:WRK0"+ number); + Msg.info(this.getName() +" is listenning on MBOX:WRK0"+ number); while(true) { Task task; try { @@ -38,7 +38,7 @@ public class Slave extends Process { } catch (MsgException e) { } - Msg.info(this.msgName() +" executed task (" + task.getName()+")"); + Msg.info(this.getName() +" executed task (" + task.getName()+")"); }