X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7b138f8b1ed3e8816eda5cb26deb71fe81b4087a..611d822b02f836d7abe031cced6adc4281ef4356:/examples/java/app/centralizedmutex/Main.java diff --git a/examples/java/app/centralizedmutex/Main.java b/examples/java/app/centralizedmutex/Main.java index 32a584d134..2f19be23a7 100644 --- a/examples/java/app/centralizedmutex/Main.java +++ b/examples/java/app/centralizedmutex/Main.java @@ -1,5 +1,4 @@ -/* Copyright (c) 2012-2014, 2016. 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. */ @@ -7,14 +6,13 @@ package app.centralizedmutex; import org.simgrid.msg.Msg; -import org.simgrid.msg.NativeException; class Main { private Main() { throw new IllegalAccessError("Utility class"); } - public static void main(String[] args) throws NativeException { + public static void main(String[] args) { Msg.init(args); String platf = args.length > 1 ? args[0] : "../platforms/small_platform.xml";