openrewrite / openrewrite/rewrite-static-analysis
RemoveUnusedLocalParam
Open
Nobody has claimed this yet.
enhancement
recipe
- Dominant language
- Java
- Stars
- 62
- Forks
- 112
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 40
Description
- https://github.com/apache/maven/pull/2338
- https://github.com/checkstyle/checkstyle/issues/17095
- https://github.com/apache/maven/blob/3e9c164ba3bc9bdab7503807bb74041a39a6ca68/compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java#L95
copy cat from: https://docs.openrewrite.org/recipes/staticanalysis/removeunusedprivatefields
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the referenced Maven DefaultSettingsBuilder.java location, the Checkstyle issue, and the linked Maven pull request to understand RemoveUnusedLocalParam. Compare those findings with the OpenRewrite removeunusedprivatefields recipe documentation and its implementation in this repository. Done means the requested recipe behavior is covered and validated against the referenced example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100