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

Refactor code to use Map.getOrDefault where possible #727

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

XN137
Copy link
Contributor

@XN137 XN137 commented Feb 2, 2023

No description provided.

@XN137 XN137 marked this pull request as ready for review February 2, 2023 06:41
Copy link
Collaborator

@lazaroclapp lazaroclapp left a comment

Choose a reason for hiding this comment

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

LGTM.

As a minor nit, could I ask for the title to be changed to "Refactor code to use Map.getOrDefault where possible" or something similar that indicates this is an internal refactoring? (to make it easier to use it as is for the changelog 🙂 )

Edit: Actually, going ahead and renaming this one and landing, hopefully that's ok by you.

@lazaroclapp lazaroclapp changed the title Prefer using Map.getOrDefault Refactor code to use Map.getOrDefault where possible Feb 2, 2023
@lazaroclapp lazaroclapp merged commit ed0ef72 into uber:master Feb 2, 2023
@XN137 XN137 deleted the prefer-getOrDefault branch April 5, 2023 16:27
msridhar added a commit to msridhar/NullAway that referenced this pull request Jul 18, 2023
msridhar added a commit to msridhar/NullAway that referenced this pull request Jul 18, 2023
msridhar added a commit to msridhar/NullAway that referenced this pull request Jul 19, 2023
msridhar added a commit to msridhar/NullAway that referenced this pull request Jul 19, 2023
msridhar added a commit to msridhar/NullAway that referenced this pull request Jul 19, 2023
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.

None yet

2 participants