apache / apache/maven

[MNG-6444] Internal code should prefer Path over File

Open
#7,402 8 comments 0 reactions 0 assignees View on GitHub
maintenance priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Robert Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)** opened **[MNG-6444](https://issues.apache.org/jira/browse/MNG-6444?redirect=false)** and commented

Goal is to replace all '`new File(`' appearances with Path / Paths https://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html

---

**Issue Links:**
- [MNG-6071](https://issues.apache.org/jira/browse/MNG-6071) GetResource ('/) returns 'null' if build is started with -f

- [MNG-6437](https://issues.apache.org/jira/browse/MNG-6437) Generic .uri suffix to get the URI representation of any file property
(_**"is depended upon by"**_)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.