openrewrite / openrewrite/rewrite-static-analysis
Migrate from `java.io.File` to `java.nio.Path`
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 62
- Forks
- 112
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 40
Description
Migrate from java.io.File to java.nio.Path.
It would be nice to have a migration for this massive task. Its might be a little complex but doable and highly aprechiated.
Basically we would like to automate something like this:
https://github.com/checkstyle/checkstyle/pull/16861#discussion_r2042437612
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 by reading the existing java.nio.file migration recipe at docs.openrewrite.org/recipes/java/migrate/nio/file and the linked Checkstyle discussion. Identify the intended java.io.File migration patterns and how this repository structures comparable recipes. Done means the requested migration is automated across the stated cases and covered by the repository's relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100