Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Mark deprecated method as "@Deprecated".
[simgrid.git] / src / bindings / java / org / simgrid / msg / Semaphore.java
index e404376..7811aed 100644 (file)
@@ -67,7 +67,7 @@ public class Semaphore {
 
 
        /** Deletes this semaphore when the GC reclaims it */
-       @Override
+       @Deprecated @Override
        protected void finalize() throws Throwable {
                nativeFinalize();
        }
@@ -80,4 +80,4 @@ public class Semaphore {
                org.simgrid.NativeLib.nativeInit();
                nativeInit();
        }
-}
\ No newline at end of file
+}