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:
Xavier Le Vourch
2008-02-13 03:29:16 +00:00
parent f46b8fc0ba
commit 6049be38fa

View File

@ -1547,7 +1547,7 @@ public class abstract Example {
<value>
<![CDATA[
//SwitchStatement[
(count(/SwitchLabel) < $minimumNumberCaseForASwitch)
(count(.//SwitchLabel) < $minimumNumberCaseForASwitch)
]
]]>
</value>