X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f185f7337939bd2116d71563cedda3c33a39a54c..c1c1e55a043d3cb03aa731754b30c18b3151da91:/examples/java/cloud/Cloud.java diff --git a/examples/java/cloud/Cloud.java b/examples/java/cloud/Cloud.java index 1edb24b9bd..fd0a566fcb 100644 --- a/examples/java/cloud/Cloud.java +++ b/examples/java/cloud/Cloud.java @@ -27,9 +27,9 @@ public class Cloud { } /* Construct the platform */ Msg.createEnvironment(args[0]); - /* Retrieve the 10 first hosts of the platform file */ + /* Retrieve the 5 first hosts of the platform file */ Host[] hosts = Host.all(); - if (hosts.length < 10) { + if (hosts.length < 5) { Msg.info("I need at least 10 hosts in the platform file, but " + args[0] + " contains only " + hosts.length + " hosts"); System.exit(42); }