Skip to content

Add recipe optimizing map iteration - #1004

Merged
sambsnyd merged 1 commit into
mainfrom
use-map-enty-set
Aug 14, 2026
Merged

sambsnyd merged 1 commit into
mainfrom
use-map-enty-set

Conversation

@sambsnyd

Copy link
Copy Markdown
Member

No description provided.

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Aug 14, 2026
@sambsnyd sambsnyd changed the title Add recipe to optimize map set iteration Add recipe optimizing map iteration Aug 14, 2026
@sambsnyd
sambsnyd merged commit 33284b2 into main Aug 14, 2026
1 check passed
@sambsnyd
sambsnyd deleted the use-map-enty-set branch August 14, 2026 22:06
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Aug 14, 2026
mergify Bot added a commit to robfrank/linklift that referenced this pull request Sep 6, 2026
… 2.41.0 to 2.41.1 [skip ci]

Bumps [org.openrewrite.recipe:rewrite-static-analysis](https://github.com/openrewrite/rewrite-static-analysis) from 2.41.0 to 2.41.1.
Release notes

*Sourced from [org.openrewrite.recipe:rewrite-static-analysis's releases](https://github.com/openrewrite/rewrite-static-analysis/releases).*

> 2.41.1
> ------
>
> What's Changed
> --------------
>
> * Add `RemoveDuplicateAnnotations` by [`@​timtebeek`](https://github.com/timtebeek) in [openrewrite/rewrite-static-analysis#1000](https://redirect.github.com/openrewrite/rewrite-static-analysis/pull/1000)
> * Revert "Skip the JavaScript RPC tests when their npm package is unavailable" by [`@​timtebeek`](https://github.com/timtebeek) in [openrewrite/rewrite-static-analysis#1001](https://redirect.github.com/openrewrite/rewrite-static-analysis/pull/1001)
> * Do not remove `catch (Exception e)` covering a checked exception by [`@​timtebeek`](https://github.com/timtebeek) in [openrewrite/rewrite-static-analysis#1003](https://redirect.github.com/openrewrite/rewrite-static-analysis/pull/1003)
> * UnnecessaryExplicitTypeArguments: retain witness when enclosing method has dependent type parameters by [`@​Niloyyy`](https://github.com/Niloyyy) in [openrewrite/rewrite-static-analysis#998](https://redirect.github.com/openrewrite/rewrite-static-analysis/pull/998)
> * Add recipe optimizing map iteration by [`@​sambsnyd`](https://github.com/sambsnyd) in [openrewrite/rewrite-static-analysis#1004](https://redirect.github.com/openrewrite/rewrite-static-analysis/pull/1004)
> * WhileInsteadOfFor not to run for Go code by [`@​greg-at-moderne`](https://github.com/greg-at-moderne) in [openrewrite/rewrite-static-analysis#999](https://redirect.github.com/openrewrite/rewrite-static-analysis/pull/999)
> * Keep annotated and `strictfp` overrides that only call super by [`@​martinfrancois`](https://github.com/martinfrancois) in [openrewrite/rewrite-static-analysis#988](https://redirect.github.com/openrewrite/rewrite-static-analysis/pull/988)
>
> New Contributors
> ----------------
>
> * [`@​Niloyyy`](https://github.com/Niloyyy) made their first contribution in [openrewrite/rewrite-static-analysis#998](https://redirect.github.com/openrewrite/rewrite-static-analysis/pull/998)
>
> **Full Changelog**: <openrewrite/rewrite-static-analysis@v2.41.0...v2.41.1>


Commits

* [`0555ec6`](openrewrite/rewrite-static-analysis@0555ec6) OpenRewrite recipe best practices
* [`bee07a4`](openrewrite/rewrite-static-analysis@bee07a4) Keep annotated and `strictfp` overrides that only call super ([#988](https://redirect.github.com/openrewrite/rewrite-static-analysis/issues/988))
* [`f7337c8`](openrewrite/rewrite-static-analysis@f7337c8) WhileInsteadOfFor not to run for Go code ([#999](https://redirect.github.com/openrewrite/rewrite-static-analysis/issues/999))
* [`33284b2`](openrewrite/rewrite-static-analysis@33284b2) Add recipe to optimize map set iteration ([#1004](https://redirect.github.com/openrewrite/rewrite-static-analysis/issues/1004))
* [`8720917`](openrewrite/rewrite-static-analysis@8720917) UnnecessaryExplicitTypeArguments: retain witness when enclosing method has de...
* [`a127799`](openrewrite/rewrite-static-analysis@a127799) Do not remove `catch (Exception e)` covering a checked exception ([#1003](https://redirect.github.com/openrewrite/rewrite-static-analysis/issues/1003))
* [`dbd8871`](openrewrite/rewrite-static-analysis@dbd8871) OpenRewrite recipe best practices
* [`27392cc`](openrewrite/rewrite-static-analysis@27392cc) Revert "Skip the JavaScript RPC tests when their npm package is unavailable" ...
* [`1b39dcc`](openrewrite/rewrite-static-analysis@1b39dcc) Add `RemoveDuplicateAnnotations` ([#1000](https://redirect.github.com/openrewrite/rewrite-static-analysis/issues/1000))
* [`eb731c9`](openrewrite/rewrite-static-analysis@eb731c9) Do not assert non-null when removing an emptied javadoc comment
* Additional commits viewable in [compare view](openrewrite/rewrite-static-analysis@v2.41.0...v2.41.1)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.openrewrite.recipe:rewrite-static-analysis&package-manager=maven&previous-version=2.41.0&new-version=2.41.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant