If you override finalize(), make it protected. If you make it public, other classes may call it.

This rule is deprecated, use {rule:squid:S1174} instead.