-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[java] AccessorClassGeneration false positive for private constructors #755
Labels
a:false-positive
PMD flags a piece of code that is not problematic
Milestone
Comments
@dotdoom thanks for the feedback! You are absolutely right on this one. That TODO is not exactly related to your issue, but refers to a time where type resolution support was non-existing. You are absolutely right about this one. 6.0.0 is already too close to release, but this should definitely make it into 6.1.0 |
Was fixed in #2899 for PMD 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rule Set:
Design: AccessorClassGeneration
Description:
When there are both private and public constructors in inner class, with the same number of arguments but different types, PMD assumes that private is called from the outer class even public is actually called.
Code Sample demonstrating the issue:
Running PMD through: [Gradle]
The text was updated successfully, but these errors were encountered: