Methods named finalize() should not have parameters. It is confusing and probably a bug to overload finalize(). It will not be called by the VM.
This rule is deprecated, use {rule:squid:S1175} instead.