Skip to content
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

refactor: fix bad smell Non-Protected-Constructor-in-Abstract-Class #4853

Merged
merged 2 commits into from
Sep 13, 2022

Conversation

MartinWitt
Copy link
Collaborator

@MartinWitt MartinWitt commented Aug 21, 2022

Changelog

The following bad smells are refactored:

Non-Protected-Constructor-in-Abstract-Class

A non-protected constructor in an abstract class is not needed because only subclasses can be instantiated

The following has changed in the code:

Non-Protected-Constructor-in-Abstract-Class

  • Constructor spoon.pattern.internal.ResultHolder(java.lang.Class) is now protected instead of public

 Non-Protected-Constructor-in-Abstract-Class
@MartinWitt MartinWitt changed the title refactor: fix bad smell Non-Protected-Constructor-in-Abstract-Class rewview: refactor: fix bad smell Non-Protected-Constructor-in-Abstract-Class Aug 25, 2022
@MartinWitt MartinWitt changed the title rewview: refactor: fix bad smell Non-Protected-Constructor-in-Abstract-Class review: refactor: fix bad smell Non-Protected-Constructor-in-Abstract-Class Aug 25, 2022
@I-Al-Istannen I-Al-Istannen changed the title review: refactor: fix bad smell Non-Protected-Constructor-in-Abstract-Class refactor: fix bad smell Non-Protected-Constructor-in-Abstract-Class Sep 13, 2022
@I-Al-Istannen I-Al-Istannen merged commit 0b498bf into INRIA:master Sep 13, 2022
@I-Al-Istannen I-Al-Istannen deleted the refactor/qodana/627126400 branch September 13, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants