forked from phoedos/pmd
Oups, i forgot to remove attribute language and to change xpath class back
to net.sourceforge.pmd.rules.XPathRule. Corrected (thanks again to Ryan for this report). By the way, it seems that the continous integration process is not set to yell at us if we broke the build on the pmd-4.2.x branch. If this is not too much work, it surely be nice to have. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6267 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
parent
be028ccaef
commit
18e444b448
@ -1592,9 +1592,8 @@ public class abstract Example {
|
||||
</rule>
|
||||
|
||||
<rule name="TooFewBranchesForASwitchStatement"
|
||||
language="java"
|
||||
since="4.2"
|
||||
class="net.sourceforge.pmd.lang.rule.XPathRule"
|
||||
class="net.sourceforge.pmd.rules.XPathRule"
|
||||
message="A switch with less than 3 branches is inefficient, use a if statement instead."
|
||||
externalInfoUrl="http://pmd.sourceforge.net/rules/design.html#TooFewBranchesForASwitchStatement">
|
||||
<description>
|
||||
|
Loading…
x
Reference in New Issue
Block a user