X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/93c7b4bd9208b45b5a5899abd1da65262431c33f..b8df87e176f27b25534f27d7e240defa32ca35bc:/examples/java/hostload/Main.java diff --git a/examples/java/hostload/Main.java b/examples/java/hostload/Main.java index 785cc39fd0..086a71973e 100644 --- a/examples/java/hostload/Main.java +++ b/examples/java/hostload/Main.java @@ -1,5 +1,4 @@ -/* Copyright (c) 2012-2018. 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. */ @@ -8,14 +7,13 @@ package hostload; import org.simgrid.msg.Host; import org.simgrid.msg.Msg; -import org.simgrid.msg.MsgException; public class Main { private Main() { throw new IllegalAccessError("Utility class"); } - public static void main(String[] args) throws MsgException { + public static void main(String[] args) { Msg.loadInit(); Msg.init(args);