All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rulesets.releases.41.xml Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
<?xml version="1.0"?>

<ruleset name="41"
    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>
This ruleset contains links to rules that are new in PMD v4.1
  </description>

  <rule ref="rulesets/java/basic.xml/AvoidUsingHardCodedIP"/>
  <rule ref="rulesets/java/basic.xml/CheckResultSet"/>
  <rule ref="rulesets/java/controversial.xml/AvoidAccessibilityAlteration"/>
  <!-- Removed with 7.0.0 <rule ref="rulesets/java/controversial.xml/AvoidFinalLocalVariable"/>-->
  <rule ref="rulesets/java/controversial.xml/AvoidUsingNativeCode"/>
<!--  <rule ref="rulesets/java/controversial.xml/AvoidUsingShortType"/>-->
  <rule ref="rulesets/java/controversial.xml/AvoidUsingVolatile"/>
  <rule ref="rulesets/java/design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal"/>
  <rule ref="rulesets/java/design.xml/EmptyMethodInAbstractClassShouldBeAbstract"/>
  <!-- Although the rule below is not new, it works quite differently now and merits (re-)consideration -->
  <rule ref="rulesets/java/design.xml/SingularField"/>

  <rule ref="rulesets/java/imports.xml/TooManyStaticImports"/>
  <rule ref="category/java/errorprone.xml/DoNotTerminateVM"/>
  <rule ref="rulesets/java/j2ee.xml/DoNotUseThreads"/>
  <rule ref="rulesets/java/j2ee.xml/StaticEJBFieldShouldBeFinal"/>
  <rule ref="rulesets/java/strings.xml/UseEqualsToCompareStrings"/>

</ruleset>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy