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

fix: Refactored Visitor #2975 #3001

Merged
merged 1 commit into from
Jun 30, 2024
Merged

Conversation

Joel-Dandin
Copy link
Contributor

What problem does this PR solve?

This PR refactors the VisitorTest class to address code smells related to the misuse of Optional for class fields and constructor parameters. Optional is intended for method return types to indicate "no result," and not for class fields or parameters.

Close #2975

Copy link

sonarcloud bot commented Jun 24, 2024

@iluwatar iluwatar merged commit 823d057 into iluwatar:master Jun 30, 2024
1 check passed
@iluwatar
Copy link
Owner

Looks good! Thank you for the contribution 🎉

@all-contributors please add @Joel-Dandin for code

Copy link
Contributor

@iluwatar

I couldn't determine any contributions to add, did you specify any contributions?
Please make sure to use valid contribution names.

I've put up a pull request to add @Joel-Dandin! 🎉

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.

Refactor Visitor
2 participants