<?xml version="1.0"?>

<ruleset name="Migration"
    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 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">

  <description>
Contains rules about migrating from one JDK version to another.  Don't use these rules directly,
rather, use a wrapper ruleset such as migrating_to_13.xml.
  </description>

    <!-- Rules, that have been moved into a category -->
    <rule ref="category/java/errorprone.xml/AvoidAssertAsIdentifier" deprecated="true" />
    <rule ref="category/java/errorprone.xml/AvoidEnumAsIdentifier" deprecated="true" />

    <rule ref="category/java/bestpractices.xml/ForLoopCanBeForeach" deprecated="true" />
    <rule ref="category/java/bestpractices.xml/JUnit4SuitesShouldUseSuiteAnnotation" deprecated="true" />
    <rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseAfterAnnotation" deprecated="true" />
    <rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseBeforeAnnotation" deprecated="true" />
    <rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseTestAnnotation" deprecated="true" />
    <rule ref="category/java/bestpractices.xml/JUnitUseExpected" deprecated="true" />
    <rule ref="category/java/bestpractices.xml/ReplaceEnumerationWithIterator" deprecated="true" />
    <rule ref="category/java/bestpractices.xml/ReplaceHashtableWithMap" deprecated="true" />
    <rule ref="category/java/bestpractices.xml/ReplaceVectorWithList" deprecated="true" />

    <rule ref="category/java/performance.xml/ByteInstantiation" deprecated="true" />
    <rule ref="category/java/performance.xml/IntegerInstantiation" deprecated="true" />
    <rule ref="category/java/performance.xml/LongInstantiation" deprecated="true" />
    <rule ref="category/java/performance.xml/ShortInstantiation" deprecated="true" />

</ruleset>
