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

rulesets.java.empty.xml Maven / Gradle / Ivy

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

<ruleset name="Empty Code"
    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>
The Empty Code ruleset contains rules that find empty statements of any kind (empty method,
empty block statement, empty try or catch block,...).
  </description>

    <!-- Rules, that have been moved into a category -->
    <rule ref="category/java/errorprone.xml/EmptyCatchBlock" deprecated="true" />
    <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" />
    <rule ref="category/java/errorprone.xml/EmptyStatementBlock" deprecated="true" />
    <rule ref="category/java/errorprone.xml/EmptyStatementNotInLoop" deprecated="true" />
    <rule ref="category/java/errorprone.xml/EmptyInitializer" name="EmptyStaticInitializer" deprecated="true" />
    <rule ref="category/java/errorprone.xml/EmptySwitchStatements" deprecated="true" />
    <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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy