Changeset 11930 in josm for trunk/tools


Ignore:
Timestamp:
2017-04-16T15:13:44+02:00 (8 years ago)
Author:
Don-vip
Message:

PMD - enable subset of optimizations rules

File:
1 edited

Legend:

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

    r11929 r11930  
    1717  <rule ref="rulesets/java/imports.xml"/>
    1818  <rule ref="rulesets/java/migrating.xml"/>
    19   <rule ref="rulesets/java/naming.xml"/>
     19  <rule ref="rulesets/java/naming.xml"/>-->
    2020  <rule ref="rulesets/java/optimizations.xml">
    2121        <exclude name="LocalVariableCouldBeFinal"/>
    2222        <exclude name="MethodArgumentCouldBeFinal"/>
    23   </rule>-->
     23        <exclude name="AvoidInstantiatingObjectsInLoops"/>
     24        <exclude name="PrematureDeclaration"/>
     25        <exclude name="SimplifyStartsWith"/>
     26        <exclude name="UseStringBufferForStringAppends"/>
     27        <exclude name="UseArrayListInsteadOfVector"/>
     28  </rule>
    2429  <rule ref="rulesets/java/strictexception.xml">
    2530        <exclude name="ExceptionAsFlowControl"/>
Note: See TracChangeset for help on using the changeset viewer.