Changeset 18514 in josm for trunk/tools/pmd


Ignore:
Timestamp:
2022-07-12T17:16:14+02:00 (3 years ago)
Author:
taylor.smock
Message:

Dependency updates

ivy.xml:

tools/ivy.xml

pmd: 6.44.0 -> 6.47.0

  • EmptyControlStatement (we have a few empty if blocks) This replaces EmptyFinallyBlock, EmptyIfStmt, EmptyInitializer, EmptyStatementBlock, EmptySwitchStatements, EmptySynchronizedBlock, EmptyTryBlock, and EmptyWhileStmt We currently ignore this, since we were previously ignoring EmptyIfStmt and EmptyWhileStmt
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/pmd/josm-ruleset.xml

    r18332 r18514  
    5757    <exclude name="ControlStatementBraces"/>
    5858    <exclude name="DefaultPackage"/>
     59    <!-- EmptyControlStatement is not configurable, so the behavior of the old excludes of EmptyIfStmt/EmptyWhileStmt (errorprone.xml) while getting new functionality cannot be done -->
     60    <exclude name="EmptyControlStatement"/>
    5961    <exclude name="EmptyMethodInAbstractClassShouldBeAbstract"/>
    6062    <exclude name="FieldDeclarationsShouldBeAtStartOfClass"/>
     
    175177    <exclude name="DoNotTerminateVM"/>
    176178    <exclude name="DontImportSun"/>
    177     <exclude name="EmptyIfStmt"/>
    178     <exclude name="EmptyWhileStmt"/>
    179179    <exclude name="ImplicitSwitchFallThrough"/>
    180180    <exclude name="MissingSerialVersionUID"/>
Note: See TracChangeset for help on using the changeset viewer.