From: Frederic Suter Date: Wed, 29 Jun 2016 08:12:14 +0000 (+0200) Subject: remove an emptty finalize override X-Git-Tag: v3_14~839 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/89419fe0e02448100c8e791dacd742ef99e4f790 remove an emptty finalize override --- diff --git a/src/bindings/java/org/simgrid/msg/File.java b/src/bindings/java/org/simgrid/msg/File.java index e37b1f4b17..23283cfdf0 100644 --- a/src/bindings/java/org/simgrid/msg/File.java +++ b/src/bindings/java/org/simgrid/msg/File.java @@ -23,10 +23,7 @@ public class File { public File(String path) { open(path); } - @Override - protected void finalize() { - } /** * Opens the file whose name is the string pointed to by path. * @param path is the file location on the storage @@ -35,13 +32,16 @@ public class File { /** * Read elements of a file. * @param size of each element - * @param nMemb is the number of elements of data to write + * @param nMemb is the number of elements of data to write + * @return the actually read size */ public native long read(long size, long nMemb); + /** * Write elements into a file. * @param size of each element * @param nMemb is the number of elements of data to write + * @return the actually written size */ public native long write(long size, long nMemb); /**