A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[sonar] Mark deprecated method as "@Deprecated".
[simgrid.git]
/
src
/
bindings
/
java
/
org
/
simgrid
/
msg
/
Semaphore.java
diff --git
a/src/bindings/java/org/simgrid/msg/Semaphore.java
b/src/bindings/java/org/simgrid/msg/Semaphore.java
index
e404376
..
7811aed
100644
(file)
--- a/
src/bindings/java/org/simgrid/msg/Semaphore.java
+++ b/
src/bindings/java/org/simgrid/msg/Semaphore.java
@@
-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
+}