From: Martin Quinson Date: Wed, 19 Oct 2011 11:31:29 +0000 (+0200) Subject: get ride of some supurious warnings X-Git-Tag: v3_9_90~569^2~19^2~174 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a34cb2a5ff236dbff6ca5b627ec8856c46edc48b get ride of some supurious warnings --- diff --git a/examples/master_slave_bypass/Master.java b/examples/master_slave_bypass/Master.java index 393d896da7..1b06544eb6 100644 --- a/examples/master_slave_bypass/Master.java +++ b/examples/master_slave_bypass/Master.java @@ -26,7 +26,7 @@ public class Master extends Process { //Create a slave on host "alice" try { Msg.info("Create process on host 'alice'"); - Slave process2 = new Slave("alice","process2"); + new Slave("alice","process2"); } catch (MsgException e){ System.out.println("Process2!"); diff --git a/examples/master_slave_bypass/MsBypass.java b/examples/master_slave_bypass/MsBypass.java index cc95c83343..1ddbc1c806 100644 --- a/examples/master_slave_bypass/MsBypass.java +++ b/examples/master_slave_bypass/MsBypass.java @@ -24,9 +24,9 @@ public class MsBypass { Msg.init(args); Msg.createEnvironment(args[0]); - /* bypass deploymemt */ + /* bypass deployment */ try { - Master process1 = new Master("bob","process1"); + new Master("bob","process1"); } catch (MsgException e){ System.out.println("Create processes failed!");