Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix warning: [cast] redundant cast to java.lang.String.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 31 Jan 2013 16:28:17 +0000 (17:28 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 31 Jan 2013 16:28:21 +0000 (17:28 +0100)
src/bindings/java/org/simgrid/msg/Process.java

index edde2bf..0f5ada6 100644 (file)
@@ -347,7 +347,7 @@ public abstract class Process implements Runnable {
                                this.args.size());
                for (int i = 0; i < this.args.size(); i++)
                        Msg.info("[" + this.msgName() + "/" + this.getHost().getName() +
-                                       "] args[" + i + "]=" + (String) (this.args.get(i)));
+                                       "] args[" + i + "]=" + this.args.get(i));
        }
     /**
      * This method actually creates and run the process.