Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move all netcards into the dict, and the dict to the engine
[simgrid.git] / examples / java / app / centralizedmutex / Main.java
index 7a8a7ac..32a584d 100644 (file)
@@ -9,7 +9,11 @@ package app.centralizedmutex;
 import org.simgrid.msg.Msg;
 import org.simgrid.msg.NativeException;
 
-public class Main {
+class Main {
+  private Main() {
+    throw new IllegalAccessError("Utility class");
+  }
+
   public static void main(String[] args) throws NativeException {
     Msg.init(args);