Skip to content

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

@sonarqubecloud
Copy link

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

Looks good! Thank you for the contribution 🎉

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

@allcontributors
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