-/*
- * 2012. The SimGrid Team. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package.
- */
+/* Copyright (c) 2012-2014. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
package io;
import org.simgrid.msg.File;
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);
Msg.info("Having write " + write + " on " + filename);
read = file.read(10000000,1);
- Msg.info("Having read " + read + " on " + filename);
+ Msg.info("Having read " + read + " on " + filename);
}
-}
\ No newline at end of file
+}