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
cleanups in Java examples advised by Sonar
[simgrid.git]
/
examples
/
java
/
async
/
dsend
/
Main.java
diff --git
a/examples/java/async/dsend/Main.java
b/examples/java/async/dsend/Main.java
index
0822c42
..
cbdf523
100644
(file)
--- a/
examples/java/async/dsend/Main.java
+++ b/
examples/java/async/dsend/Main.java
@@
-1,5
+1,4
@@
-/* Copyright (c) 2006-2014, 2016. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2006-2017. 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. */
@@
-13,7
+12,6
@@
package async.dsend;
*/
import org.simgrid.msg.Host;
*/
import org.simgrid.msg.Host;
-import org.simgrid.msg.HostNotFoundException;
import org.simgrid.msg.Msg;
class Main {
import org.simgrid.msg.Msg;
class Main {
@@
-22,7
+20,7
@@
class Main {
throw new IllegalAccessError("Utility class");
}
throw new IllegalAccessError("Utility class");
}
- public static void main(String[] args)
throws HostNotFoundException
{
+ public static void main(String[] args) {
Msg.init(args);
String platform = "../platforms/small_platform.xml";
Msg.init(args);
String platform = "../platforms/small_platform.xml";