Ignore:
Timestamp:
2021-07-15T01:07:58+02:00 (4 years ago)
Author:
Don-vip
Message:

fix #19998 - update Streetside dependencies (patch by taylor.smock, modified)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/MicrosoftStreetside/config/pmd/ruleset.xml

    r34329 r35779  
    77    This ruleset checks some rules that you should normally follow for the ms-streetside-josm-plugin.
    88  </description>
    9   <rule ref="rulesets/java/basic.xml"/>
    10   <rule ref="rulesets/java/braces.xml">
    11     <exclude name="IfStmtsMustUseBraces"/>
    12   </rule>
    13   <rule ref="rulesets/java/clone.xml"/>
    149
    15   <rule ref="rulesets/java/controversial.xml/UnnecessaryConstructor"/>
    16   <rule ref="rulesets/java/controversial.xml/AssignmentInOperand"/>
    17   <rule ref="rulesets/java/controversial.xml/DontImportSun"/>
    18   <rule ref="rulesets/java/controversial.xml/SuspiciousOctalEscape"/>
    19   <rule ref="rulesets/java/controversial.xml/UnnecessaryParentheses"/>
    20 
    21   <rule ref="rulesets/java/coupling.xml">
     10  <rule ref="category/java/design.xml">
    2211    <exclude name="LoosePackageCoupling" />
    2312    <exclude name="LawOfDemeter" />
    2413  </rule>
    25   <rule ref="rulesets/java/design.xml">
    26     <exclude name="AvoidSynchronizedAtMethodLevel" />
     14  <rule ref="category/java/codestyle.xml">
    2715    <exclude name="ConfusingTernary" />
    28   </rule>
    29   <rule ref="rulesets/java/empty.xml"/>
    30   <rule ref="rulesets/java/finalizers.xml"/>
    31   <rule ref="rulesets/java/imports.xml"/>
    32   <rule ref="rulesets/java/naming.xml">
    33     <exclude name="ShortVariable"/>
    34     <exclude name="LongVariable"/>
    35     <exclude name="AbstractNaming"/>
    36   </rule>
    37   <rule ref="rulesets/java/optimizations.xml">
    3816    <exclude name="LocalVariableCouldBeFinal" />
    3917    <exclude name="MethodArgumentCouldBeFinal" />
     18    <exclude name="UselessParentheses" />
     19    <exclude name="IfStmtsMustUseBraces"/>
     20  </rule>
     21  <rule ref="category/java/multithreading.xml">
     22    <exclude name="AvoidSynchronizedAtMethodLevel" />
     23  </rule>
     24  <rule ref="category/java/bestpractices.xml"/>
     25  <rule ref="category/java/errorprone.xml"/>
     26  <rule ref="category/java/performance.xml">
    4027    <exclude name="AvoidInstantiatingObjectsInLoops" />
    4128  </rule>
    42   <rule ref="rulesets/java/strictexception.xml"/>
    43   <rule ref="rulesets/java/strings.xml"/>
    44   <rule ref="rulesets/java/sunsecure.xml"/>
    45   <rule ref="rulesets/java/typeresolution.xml"/>
    46   <rule ref="rulesets/java/unnecessary.xml">
    47     <exclude name="UselessParentheses" />
    48   </rule>
    49   <rule ref="rulesets/java/unusedcode.xml"/>
    5029</ruleset>
Note: See TracChangeset for help on using the changeset viewer.