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: Use getOrDefault instead of if-else #1275

Closed
Tracked by #106
nya-elimu opened this issue May 19, 2021 · 1 comment
Closed
Tracked by #106

refactor: Use getOrDefault instead of if-else #1275

nya-elimu opened this issue May 19, 2021 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@nya-elimu
Copy link
Member

To reduce the amount of code, refactor usage of if-else for populating HashMaps to use getOrDefault instead.

For context, see #1273 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants