Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce Java debt (endless wip)
[simgrid.git] / examples / java / app / masterworker / Main.java
index cc24eed..c1e905c 100644 (file)
@@ -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). */