Example

public class ClassA {
protected void finalize ()
throws Throwable {

super.finalize();
}
}

Solution
remove the unnecessary finalize() methods if it only contains one call to super.finalize()

public class ClassA {

}