Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Properly say the test suite that java tests are not run when it's the case
[simgrid.git] / examples / java / comm_time / Master.java
index f33c6c6..5567e91 100644 (file)
@@ -53,12 +53,8 @@ public class Master extends simgrid.msg.Process {
                
       for (int i = 0; i < slavecount; i++) { 
                        
-        FinalizeTask task = new FinalizeTask();
-                       
-        Msg.info("Send task to host : " + slaves[i].getName());
-        channel.put(task,slaves[i]);
-                       
-        Msg.info("Send completed " + slaves[i].getName() +  " [" + i + "]");
+        Msg.info("Finalize host " + slaves[i].getName() +  " [" + i + "]");
+        channel.put(new FinalizeTask(),slaves[i]);
       }
       
       Msg.info("All finalize messages have been dispatched. Goodbye now!");