X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d683c34c73a6dd0492e5332744348f1c6aefd5e..611d822b02f836d7abe031cced6adc4281ef4356:/examples/java/cloud/masterworker/Main.java?ds=sidebyside diff --git a/examples/java/cloud/masterworker/Main.java b/examples/java/cloud/masterworker/Main.java index a99dc21ab7..6f36e7dd5f 100644 --- a/examples/java/cloud/masterworker/Main.java +++ b/examples/java/cloud/masterworker/Main.java @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2012-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -29,8 +29,8 @@ class Main { File f = new File(platfFile); if (!f.exists()) { - System.err.println("File "+platfFile+" does not exist in "+System.getProperty("user.dir")); - System.err.println("Usage : Main ../platforms/platform.xml"); + Msg.error("File " + platfFile + " does not exist in " + System.getProperty("user.dir")); + Msg.error("Usage : Main ../platforms/platform.xml"); } Msg.createEnvironment(platfFile);