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
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git]
/
examples
/
java
/
app
/
masterworker
/
Main.java
diff --git
a/examples/java/app/masterworker/Main.java
b/examples/java/app/masterworker/Main.java
index
acca06a
..
d252ee4
100644
(file)
--- a/
examples/java/app/masterworker/Main.java
+++ b/
examples/java/app/masterworker/Main.java
@@
-9,16
+9,15
@@
package app.masterworker;
import java.io.File;
import org.simgrid.msg.Msg;
import java.io.File;
import org.simgrid.msg.Msg;
-import org.simgrid.msg.NativeException;
-
public
class Main {
+class Main {
public static final int TASK_COMP_SIZE = 10000000;
public static final int TASK_COMM_SIZE = 10000000;
public static final int TASK_COMP_SIZE = 10000000;
public static final int TASK_COMM_SIZE = 10000000;
- /* This only contains the launcher. If you do nothing more than than you can run java simgrid.msg.Msg
- * which also contains such a launcher
- */
+ private Main() {
+ throw new IllegalAccessError("Utility class");
+ }
- public static void main(String[] args)
throws NativeException
{
+ public static void main(String[] args) {
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);