X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/78c34e74fbe28d492254148c6b3d3fc2a37133f1..6d640ca2a6ebe67c9b800e4ac1395862c807d844:/src/java/simgrid/msg/Msg.java diff --git a/src/java/simgrid/msg/Msg.java b/src/java/simgrid/msg/Msg.java index 60cc292b4c..15dffa119a 100644 --- a/src/java/simgrid/msg/Msg.java +++ b/src/java/simgrid/msg/Msg.java @@ -25,6 +25,7 @@ public final class Msg { } } + /* FIXME: kill these C crufts */ /** Returns the last error code of the simulation */ public final static native int getErrCode(); @@ -34,7 +35,7 @@ public final class Msg { /** Something must be not perfectly clean (but I may be paranoid freak...) */ public static final int WARNING = 1; - /** There has been a problem during you task transfer. + /** There has been a problem during your task transfer. * Either the network is down or the remote host has been shutdown */ public static final int TRANSFERT_FAILURE = 2; @@ -49,7 +50,6 @@ public final class Msg { /** You've done something wrong. You'd better look at it... */ public static final int FATAL_ERROR = 5; - /** Retrieve the simulation time */ public final static native double getClock(); @@ -85,16 +85,14 @@ public final class Msg { * @param platformFile The XML file which contains the description of the environment of the simulation * */ - public final static native void createEnvironment(String platformFile) - throws NativeException; + public final static native void createEnvironment(String platformFile) throws NativeException; /** * The method to deploy the simulation. * * @param platformFile The XML file which contains the description of the application to deploy. */ - public final static native void deployApplication(String deploymentFile) - throws NativeException; + public final static native void deployApplication(String deploymentFile) throws NativeException; /** Example launcher. You can use it or provide your own launcher, as you wish */ static public void main(String[]args) throws MsgException { @@ -109,7 +107,6 @@ public final class Msg { /* Load the platform and deploy the application */ Msg.createEnvironment(args[0]); Msg.deployApplication(args[1]); - /* Execute the simulation */ Msg.run(); }