Changeset 12539 in josm for trunk/tools/pmd/josm-ruleset.xml
- Timestamp:
- 2017-07-30T01:00:55+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/pmd/josm-ruleset.xml
r12199 r12539 16 16 <rule ref="rulesets/java/finalizers.xml"/> 17 17 <rule ref="rulesets/java/imports.xml"/> 18 <rule ref="rulesets/java/migrating.xml"/> 19 <rule ref="rulesets/java/naming.xml"/>--> 18 <rule ref="rulesets/java/migrating.xml"/>--> 19 <rule ref="rulesets/java/naming.xml"> 20 <exclude name="AbstractNaming"/> 21 <exclude name="AvoidFieldNameMatchingMethodName"/> 22 <exclude name="AvoidFieldNameMatchingTypeName"/> 23 <exclude name="BooleanGetMethodName"/> 24 <exclude name="LongVariable"/> 25 <exclude name="ShortClassName"/> 26 <exclude name="ShortMethodName"/> 27 <exclude name="ShortVariable"/> 28 <exclude name="MethodNamingConventions"/> 29 <exclude name="VariableNamingConventions"/> 30 </rule> 31 <rule ref="rulesets/java/naming.xml/ShortMethodName"> 32 <properties> 33 <property name="violationSuppressXPath" value="//MethodDeclarator[@Image='at' or @Image='ht' or @Image='of' or @Image='ok' or @Image='tr'] 34 | //MethodDeclarator/../../Annotation/MarkerAnnotation/Name[@Image='Deprecated'] 35 | //MethodDeclarator/../../../..[@Image='LambertConformalConic']"/> 36 </properties> 37 </rule> 38 <rule ref="rulesets/java/naming.xml/MethodNamingConventions"> 39 <properties> 40 <property name="violationSuppressXPath" value="//MethodDeclarator/../../../..[@Image='Functions' or @Image='PseudoClasses' or @Image='Role' or @Image='TaggingPreset']"/> 41 </properties> 42 </rule> 43 <rule ref="rulesets/java/naming.xml/VariableNamingConventions"> 44 <properties> 45 <property name="violationSuppressXPath" value="//FieldDeclaration[@Public='true']|//FieldDeclaration/../Annotation/MarkerAnnotation/Name[@Image='pref']"/> 46 </properties> 47 </rule> 48 <rule ref="rulesets/java/naming.xml/LongVariable"> 49 <properties> 50 <property name="minimum" value="44"/> 51 </properties> 52 </rule> 20 53 <rule ref="rulesets/java/optimizations.xml"> 21 54 <exclude name="LocalVariableCouldBeFinal"/>
Note:
See TracChangeset
for help on using the changeset viewer.