Removed references to removed rules

This commit is contained in:
Andreas Dangel 2024-02-01 17:35:40 +01:00
parent b7363c98bb
commit c22448eae6
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3
4 changed files with 9 additions and 6 deletions

View File

@ -8,8 +8,11 @@
The Performance ruleset contains a collection of good practices which should be followed.
</description>
<!--
<rule ref="category/apex/performance.xml/AvoidDmlStatementsInLoops" deprecated="true" />
<rule ref="category/apex/performance.xml/AvoidSoqlInLoops" deprecated="true" />
<rule ref="category/apex/performance.xml/AvoidSoslInLoops" deprecated="true" />
-->
<rule ref="rulesets/apex/quickstart.xml/OperationWithLimitsInLoop" deprecated="true" />
</ruleset>

View File

@ -16,9 +16,7 @@ Note: This ruleset is deprecated. Use "rulesets/apex/quickstart.xml" instead.
<rule ref="rulesets/apex/quickstart.xml/TooManyFields" deprecated="true" />
<rule ref="rulesets/apex/quickstart.xml/AvoidDeeplyNestedIfStmts" deprecated="true" />
<rule ref="rulesets/apex/quickstart.xml/CyclomaticComplexity" deprecated="true" />
<rule ref="category/apex/performance.xml/AvoidSoqlInLoops" deprecated="true" />
<rule ref="category/apex/performance.xml/AvoidSoslInLoops" deprecated="true" />
<rule ref="category/apex/performance.xml/AvoidDmlStatementsInLoops" deprecated="true" />
<rule ref="rulesets/apex/quickstart.xml/OperationWithLimitsInLoop" deprecated="true" />
<rule ref="rulesets/apex/quickstart.xml/AvoidDirectAccessTriggerMap" deprecated="true" />
<rule ref="rulesets/apex/quickstart.xml/AvoidLogicInTrigger" deprecated="true" />
<rule ref="rulesets/apex/quickstart.xml/AvoidGlobalModifier" deprecated="true" />

View File

@ -34,8 +34,8 @@ This ruleset contains links to rules that are new in PMD v5.0
<rule ref="rulesets/java/design.xml/LogicInversion"/>
<rule ref="rulesets/java/design.xml/UseVarargs"/>
<rule ref="rulesets/java/design.xml/GodClass"/>
<rule ref="rulesets/java/empty.xml/EmptyInitializer"/>
<rule ref="rulesets/java/empty.xml/EmptyStatementBlock"/>
<!-- Removed with 7.0.0 <rule ref="rulesets/java/empty.xml/EmptyInitializer"/>-->
<!-- Removed with 7.0.0 <rule ref="rulesets/java/empty.xml/EmptyStatementBlock"/>-->
<rule ref="rulesets/java/imports.xml/UnnecessaryFullyQualifiedName"/>
<rule ref="rulesets/java/junit.xml/JUnitTestContainsTooManyAsserts"/>
<!-- <rule ref="rulesets/java/junit.xml/UseAssertTrueInsteadOfAssertEquals"/>-->

View File

@ -11,6 +11,7 @@ empty block statement, empty try or catch block,...).
<!-- Rules, that have been moved into a category -->
<rule ref="category/java/errorprone.xml/EmptyCatchBlock" deprecated="true" />
<!-- Removed with 7.0.0
<rule ref="category/java/errorprone.xml/EmptyFinallyBlock" deprecated="true" />
<rule ref="category/java/errorprone.xml/EmptyIfStmt" deprecated="true" />
<rule ref="category/java/errorprone.xml/EmptyInitializer" deprecated="true" />
@ -21,5 +22,6 @@ empty block statement, empty try or catch block,...).
<rule ref="category/java/errorprone.xml/EmptySynchronizedBlock" deprecated="true" />
<rule ref="category/java/errorprone.xml/EmptyTryBlock" deprecated="true" />
<rule ref="category/java/errorprone.xml/EmptyWhileStmt" deprecated="true" />
-->
</ruleset>
</ruleset>