Fix pmd rules after update gradle to 2.11 (and accordingly, pmd)
This commit is contained in:
parent
badf384619
commit
c4dc972804
|
@ -26,10 +26,6 @@
|
||||||
<exclude-pattern>.*/gen/.*</exclude-pattern>
|
<exclude-pattern>.*/gen/.*</exclude-pattern>
|
||||||
|
|
||||||
<rule ref="rulesets/java/android.xml">
|
<rule ref="rulesets/java/android.xml">
|
||||||
<!-- Config.LOGD deprecated in API level 4 !-->
|
|
||||||
<exclude name="ProtectLogD" />
|
|
||||||
<!-- Config.LOGV deprecated in API level 4 !-->
|
|
||||||
<exclude name="ProtectLogV" />
|
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="rulesets/java/clone.xml" />
|
<rule ref="rulesets/java/clone.xml" />
|
||||||
<rule ref="rulesets/java/finalizers.xml" />
|
<rule ref="rulesets/java/finalizers.xml" />
|
||||||
|
@ -44,7 +40,6 @@
|
||||||
<rule ref="rulesets/java/naming.xml">
|
<rule ref="rulesets/java/naming.xml">
|
||||||
<exclude name="AbstractNaming" />
|
<exclude name="AbstractNaming" />
|
||||||
<exclude name="LongVariable" />
|
<exclude name="LongVariable" />
|
||||||
<exclude name="LongMethodName" />
|
|
||||||
<exclude name="ShortMethodName" />
|
<exclude name="ShortMethodName" />
|
||||||
<exclude name="ShortVariable" />
|
<exclude name="ShortVariable" />
|
||||||
<exclude name="VariableNamingConventions" />
|
<exclude name="VariableNamingConventions" />
|
||||||
|
|
Loading…
Reference in New Issue