SONARJAVA-539 Fix false positive for Finalize