-/* Copyright (c) 2012-2014, 2016. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2012-2019. 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. */
package app.centralizedmutex;
import org.simgrid.msg.Msg;
-import org.simgrid.msg.NativeException;
-public class Main {
- public static void main(String[] args) throws NativeException {
+class Main {
+ private Main() {
+ throw new IllegalAccessError("Utility class");
+ }
+
+ public static void main(String[] args) {
Msg.init(args);
String platf = args.length > 1 ? args[0] : "../platforms/small_platform.xml";