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
/
VM.java
diff --git
a/src/bindings/java/org/simgrid/msg/VM.java
b/src/bindings/java/org/simgrid/msg/VM.java
index d7808f4c4d14daecfa951952867d4d753ea98aa0..bca633f62f5af4953e320f395fbdd93781c7229b 100644
(file)
--- a/
src/bindings/java/org/simgrid/msg/VM.java
+++ b/
src/bindings/java/org/simgrid/msg/VM.java
@@
-68,6
+68,7
@@
public class VM extends Host {
public static native VM getVMByName(String name);
/* Make sure that the GC also destroys the C object */
+ @Deprecated @Override
protected void finalize() throws Throwable {
nativeFinalize();
}