rulesets.java.finalizers.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <ruleset name="Finalizer" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"> <description> These rules deal with different problems that can occur with finalizers. </description> <!-- Rules, that have been moved into a category --> <rule ref="category/java/errorprone.xml/AvoidCallingFinalize" deprecated="true" /> <rule ref="category/java/errorprone.xml/EmptyFinalizer" deprecated="true" /> <rule ref="category/java/errorprone.xml/FinalizeDoesNotCallSuperFinalize" deprecated="true" /> <rule ref="category/java/errorprone.xml/FinalizeOnlyCallsSuperFinalize" deprecated="true" /> <rule ref="category/java/errorprone.xml/FinalizeOverloaded" deprecated="true" /> <rule ref="category/java/errorprone.xml/FinalizeShouldBeProtected" deprecated="true" /> </ruleset>