X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/be7ef7ac1f3f0daf1ced88e55c149e6f43912ce6..96619dfc463a060fd90d26d333ca0134d7c32429:/examples/java/io/Node.java diff --git a/examples/java/io/Node.java b/examples/java/io/Node.java index a0e1f9547b..6885c7d8f9 100644 --- a/examples/java/io/Node.java +++ b/examples/java/io/Node.java @@ -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 +}