openrewrite / openrewrite/rewrite-apache
use Apache Collections to check if a collection is empty/not empty
Open
Nobody has claimed this yet.
recipe
- Dominant language
- Java
- Stars
- 6
- Forks
- 19
- Avg merge
- 56m
- Merged PRs (30d)
- 3
Description
Follow up recipe for org.openrewrite.java.cleanup.IsEmptyCallOnCollections
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 org.openrewrite.java.cleanup.IsEmptyCallOnCollections recipe and review the Apache Commons Collections CollectionUtils.isEmpty API documentation. Determine the intended empty and non-empty collection cases, then verify that the follow-up recipe handles them consistently with the existing recipe.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100