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

Modernize a for loop #1404

Merged
merged 2 commits into from
May 28, 2024
Merged

Modernize a for loop #1404

merged 2 commits into from
May 28, 2024

Conversation

liblit
Copy link
Contributor

@liblit liblit commented May 28, 2024

Replace a general for (;;) loop with something in a more functional style. The restructured code also makes it more obvious that exactly one List instance is always put into the Exclusions key of the res Map.

Replace a general `for (;;)` loop with something in a more functional
style.  The restructured code also makes it more obvious that exactly
one `List` instance is *always* put into the `Exclusions` key of the
`res` `Map`.
@liblit liblit added the cleanup API cleanup and refactoring label May 28, 2024
@liblit liblit requested a review from msridhar May 28, 2024 00:54
@liblit liblit self-assigned this May 28, 2024
@liblit liblit enabled auto-merge (rebase) May 28, 2024 00:54
Copy link

Test Results

  577 files    577 suites   3h 1m 20s ⏱️
  735 tests   718 ✅ 17 💤 0 ❌
3 559 runs  3 472 ✅ 87 💤 0 ❌

Results for commit 44463dd.

@liblit liblit merged commit 0920407 into wala:master May 28, 2024
11 checks passed
@liblit liblit deleted the for-to-stream branch May 28, 2024 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup API cleanup and refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants