A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright headers.
[simgrid.git]
/
examples
/
java
/
app
/
centralizedmutex
/
Main.java
diff --git
a/examples/java/app/centralizedmutex/Main.java
b/examples/java/app/centralizedmutex/Main.java
index
32a584d
..
2f19be2
100644
(file)
--- 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. */
/* 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;
package app.centralizedmutex;
import org.simgrid.msg.Msg;
-import org.simgrid.msg.NativeException;
class Main {
private Main() {
throw new IllegalAccessError("Utility class");
}
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";
Msg.init(args);
String platf = args.length > 1 ? args[0] : "../platforms/small_platform.xml";