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
please sonar and override finalize methods
[simgrid.git]
/
src
/
bindings
/
java
/
org
/
simgrid
/
msg
/
Comm.java
diff --git
a/src/bindings/java/org/simgrid/msg/Comm.java
b/src/bindings/java/org/simgrid/msg/Comm.java
index c48a820e9eda2eea388571a1140f69ffacbea646..99b889d2efaf396199832bfb7cce17ff241a4987 100644
(file)
--- a/
src/bindings/java/org/simgrid/msg/Comm.java
+++ b/
src/bindings/java/org/simgrid/msg/Comm.java
@@
-30,6
+30,7
@@
public class Comm {
}
/** Destroy the C communication object, when the GC reclaims the java part. */
+ @Override
protected void finalize() throws Throwable{
nativeFinalize();
}