-
Notifications
You must be signed in to change notification settings - Fork 114
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
PMD rule CallSuperInConstructor makes no sense #982
Comments
@golszewski86/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot! |
@yegor256 Any opinions on that? I agree with @golszewski86 that this rule is pointless. |
@krzyk it's also triggered for anonymous classes. See this example |
@krzyk I agree, let's get rid of it. |
@0crat in |
@krzyk Thanks for your contribution, @golszewski86/z! If you would be a member of the project, you would now earn +15 reputation points, as explained in §29. You can join and apply to it, see §2. |
@golszewski86 Merged, please close |
@0crat wait for closure |
@golszewski86 ping |
@krzyk ping |
@paulodamaso The impediment for #982 was registered successfully by @paulodamaso/z |
@krzyk please take a look |
@paulodamaso I can't do much here, I can't close issues |
@paulodamaso, @krzyk Sorry guys I can't close the issue too... |
Ooops wrong github account :) With this one I can |
Job |
The job #982 is now out of scope |
PMD rule CallSuperInConstructor requires an explicit call to superclass constructor, e.g.
The rule description (https://pmd.github.io/pmd/pmd_rules_java_codestyle.html#callsuperinconstructor) only says that it is a good practice without referencing any source. So I've asked PMD developers and their answer was:
I believe this rule actually enforces a bad practice:
Given that, I think this rule should be disabled.
The text was updated successfully, but these errors were encountered: