A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/2020 below:

[core] Wrong deprecation warnings for unused XPath attributes · Issue #2020 · pmd/pmd · GitHub

Affects PMD Version: 6.18.0

Description:
PMD 6.18.0 reports deprecation warnings for XPath attributes, that are not really used.
This is irritating and a bug.

See also #2019 for an improvement for the deprecation warnings in general.

A partial fix is already available: e4ce2fa

What's missing:

I think, the reason, why PMDCoverageTest didn't detect the problem is, that we only log the warnings once per attribute. In other tests, that were executed before PMDCoverageTest, the warnings was already logged, so it wasn't logged again and thus wasn't detected and failed the build. We could execute PMDCoverageTest in a separate jvm (to avoid the static cache) or we could add a integration test in pmd-dist. PMDCoverageTest is only java and we would only detect these problems for our java rulesets, but the same problem could apply for apex as well.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4