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

Refactored saveAllImpl by Decomposing Conditions #2831

Merged
merged 4 commits into from
Nov 27, 2023

Conversation

akshatbiztech
Copy link
Contributor

I ran DesigniteJava a smell detection tool and detected various smells. I refactored saveAllImpl based on the "Complex Condition" smell. I have moved the conditions into a different method "requiresSingleStatements".

Would love to get your feedback on this.

I have attached the file that shows all the implementation smells.
ImplementationSmells.csv

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 24, 2023
@michael-simons
Copy link
Collaborator

This is a nice and isolated one, thanks.

@michael-simons michael-simons merged commit 4eb08ab into spring-projects:main Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants