Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove warnings
[simgrid.git] / examples / java / io / Node.java
index a0e1f95..6885c7d 100644 (file)
@@ -45,7 +45,7 @@ public class Node extends Process {
                                filename = FILENAME1;
                }
                Msg.info("Open file " + filename);
-               File file = new File(mount,filename, "rw");
+               File file = new File(mount,filename);
 
                long read = file.read(10000000,1);
                Msg.info("Having read " + read + " on " + filename);
@@ -56,4 +56,4 @@ public class Node extends Process {
                read = file.read(10000000,1);
                Msg.info("Having read " + read + " on " + filename);            
        }
-}
\ No newline at end of file
+}