Fix externalInfoUrl after rename

This commit is contained in:
Andreas Dangel 2024-10-05 11:37:45 +02:00 committed by GitHub
parent 079eb238b9
commit 5ecc29245b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2192,7 +2192,7 @@ public class Foo {
since="1.5"
message="A non-case label was present in a switch statement or expression"
class="net.sourceforge.pmd.lang.rule.xpath.XPathRule"
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_errorprone.html#noncaselabelinswitchstatement">
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_errorprone.html#noncaselabelinswitch">
<description>
A non-case label (e.g. a named break/continue label) was present in a switch statement or switch expression.
This is legal, but confusing. It is easy to mix up the case labels and the non-case labels.