Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar and override finalize methods
[simgrid.git] / src / bindings / java / org / simgrid / msg / Task.java
index 47f87fa..708978c 100644 (file)
@@ -164,6 +164,7 @@ public class Task {
        public native void cancel();
 
        /** Deletes a task once the garbage collector reclaims it */
+       @Override
        protected void finalize() throws Throwable{
                nativeFinalize();
                bind=0; // to avoid segfaults if the impossible happens yet again making this task surviving its finalize()