bug fix: incorrect XPath expression for TooFewBranchesForASwitchStatement
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5765 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -1547,7 +1547,7 @@ public class abstract Example {
|
||||
<value>
|
||||
<![CDATA[
|
||||
//SwitchStatement[
|
||||
(count(/SwitchLabel) < $minimumNumberCaseForASwitch)
|
||||
(count(.//SwitchLabel) < $minimumNumberCaseForASwitch)
|
||||
]
|
||||
]]>
|
||||
</value>
|
||||
|
Reference in New Issue
Block a user