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

review: refactor: Simplify Set creation in CtReferenceImpl #4097

Conversation

I-Al-Istannen
Copy link
Collaborator

This PR just replaces the stream set creations with Collections#singleton - the Set.of for poor sods still using java 8.

I don't expect this to have any impact on correctness or performance.

@I-Al-Istannen I-Al-Istannen changed the title wip: refactor: Simplify Set creation in CtReferenceImpl review: refactor: Simplify Set creation in CtReferenceImpl Aug 14, 2021
Copy link
Collaborator

@slarse slarse left a comment

Choose a reason for hiding this comment

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

LGTM.

the Set.of for poor sods still using java 8.

:(

@slarse slarse merged commit 140daab into INRIA:master Aug 15, 2021
@monperrus monperrus mentioned this pull request Aug 19, 2021
woutersmeenk pushed a commit to woutersmeenk/spoon that referenced this pull request Aug 29, 2021
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