FIN.EMPTY

Empty finalize() method. FIN.* code problems have a questionable implementation of the finalize method(). In this case, there is an empty finalize() method.

Example 1

Copy
     public void test3() {
         new FIN_EMPTY_Sample_1() {
             protected void finalize() throws Throwable {
 
             }
         };
     }
     // fixed code
     public void test1() {
         new FIN_EMPTY_Sample_1() {
         };
     }

FIN.EMPTY is reported for line 13: Empty finalize() method should be removed.