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
adangel
changed the title
[java] UnusedAssignment in record compact constructor - 7.0.0-rc3
[java] UnusedAssignment false positive in record compact constructor
Feb 29, 2024
adangel
added a commit
to adangel/pmd
that referenced
this issue
Feb 29, 2024
Affects PMD Version: 7.0.0-rc3 (works fine in 6.55.0)
Rule: UnusedAssignment
Description:
False-positive is reported when a variable is assigned in record compact constructor.
Code Sample demonstrating the issue:
Expected outcome:
PMD should not report false-positive about unused
foo
in compact constructor.Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
Gradle
The text was updated successfully, but these errors were encountered: