Skip to content

remove finalize method (or rename it)

finalize is keyword in Java and a method with that name is automatically invoked by the JVM right before the garbage collector is removing that object. Something similar to the C++ destructor methods. But in Java it is really not encouraged to use this. It was even deprecated in Java 9. This is why I would suggest rename the method to something less misleading, unless you really want to implicate that it is actually a Java finalize method. Also see https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize-- for more details. I am referring to the finalize method within the MpiFacade

Edited by mvrueden