X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ed4d9195562842753411ebe491d2d66f46965a1a..40d3634e5448cd560a6989d07d10ec30e85cf533:/examples/java/app/masterworker/Main.java diff --git a/examples/java/app/masterworker/Main.java b/examples/java/app/masterworker/Main.java index cc24eed70f..c1e905c87d 100644 --- a/examples/java/app/masterworker/Main.java +++ b/examples/java/app/masterworker/Main.java @@ -14,9 +14,9 @@ import org.simgrid.msg.NativeException; class Main { public static final int TASK_COMP_SIZE = 10000000; public static final int TASK_COMM_SIZE = 10000000; - /* This only contains the launcher. If you do nothing more than than you can run java simgrid.msg.Msg - * which also contains such a launcher - */ + private Main() { + throw new IllegalAccessError("Utility class"); + } public static void main(String[] args) throws NativeException { /* initialize the MSG simulation. Must be done before anything else (even logging). */