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

Avoid unnecessary unboxing of Boolean #3003

Merged
merged 11 commits into from Sep 12, 2022
Merged

Avoid unnecessary unboxing of Boolean #3003

merged 11 commits into from Sep 12, 2022

Conversation

prasanth08
Copy link
Contributor

Changed Boolean.valueOf() to Boolean.parseBoolean() - Boolean.valueOf() returns Boolean while the attributes in Options Class is boolean, Boolean.parseBoolean() returns boolean.
Changed Collections.sort() to List.sort() - Collections.sort() internally calls the List.sort().
Fix Java - doc

Copy link
Member

@filiphr filiphr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your changes are OK @prasanth08, only one small comment about one of the Javadocs.

Apart from that, can you please rebase this on top of main. I see that there are some conflicts

@filiphr filiphr merged commit d593afe into mapstruct:main Sep 12, 2022
@filiphr
Copy link
Member

filiphr commented Sep 12, 2022

Thanks @prasanth08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants