You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from 6.17.0 to 6.19.0 started seeing deprecation warnings for a rule that is never explicitly referenced (InvalidSlf4jMessageFormat):
Use Rule name category/java/errorprone.xml/InvalidLogMessageFormat instead of the deprecated Rule name category/java/errorprone.xml/InvalidSlf4jMessageFormat. PMD 7.0.0 will remove support for this deprecated Rule name usage.
adangel
changed the title
[core] Referencing category errorprone.xml produces deprecation warnings for InvalidSlf4jMessageFormat.
[core] Referencing category errorprone.xml produces deprecation warnings for InvalidSlf4jMessageFormat
Nov 4, 2019
adangel
added a commit
to adangel/pmd
that referenced
this issue
Nov 4, 2019
There are two variants, how a renamed rule can be expressed in the
ruleset via a deprecated rule reference: referencing just the
new rule name or referencing the ruleset+new rule name. The latter
case was not covered yet, it was not detected, that the rule ref
references are rule in the same ruleset.
Fixespmd#2096
There are two variants, how a renamed rule can be expressed in the
ruleset via a deprecated rule reference: referencing just the
new rule name or referencing the ruleset+new rule name. The latter
case was not covered yet, it was not detected, that the rule ref
references are rule in the same ruleset.
Fixespmd#2096
Affects PMD Version:
6.19.0
Rule:
category/java/errorprone.xml
Description:
After upgrading from
6.17.0
to6.19.0
started seeing deprecation warnings for a rule that is never explicitly referenced (InvalidSlf4jMessageFormat):Use Rule name category/java/errorprone.xml/InvalidLogMessageFormat instead of the deprecated Rule name category/java/errorprone.xml/InvalidSlf4jMessageFormat. PMD 7.0.0 will remove support for this deprecated Rule name usage.
Code Sample demonstrating the issue:
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
Gradle
The text was updated successfully, but these errors were encountered: