Update pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/TooFewBranchesForSwitch.xml

This commit is contained in:
Andreas Dangel 2024-10-05 10:41:10 +02:00 committed by GitHub
parent 13cc79af62
commit 6f081e111a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ public class DumbSwitch {
</test-code>
<test-code>
<description>Switch Expression with only one case, not ok</description>
<description>Switch Expression with only one case, not ok #5250</description>
<rule-property name="minimumNumberCaseForASwitch">3</rule-property>
<expected-problems>1</expected-problems>
<code><![CDATA[