maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <>
Subject [jira] [Commented] (MNG-6444) Internal code should prefer Path over File
Date Wed, 18 Jul 2018 17:54:00 GMT


Robert Scholte commented on MNG-6444:

Quite some interfaces use File, which would mean transforming Path to File (pass it to a method)
to Path (and include null-checks). So removing all `new File` appearances seems too ambitious.
With default methods such transformations might become easier. But I agree, let's do a first
sweep and replace the obvious improvements.

> Internal code should prefer Path over File
> ------------------------------------------
>                 Key: MNG-6444
>                 URL:
>             Project: Maven
>          Issue Type: Task
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>            Priority: Minor
>              Labels: requires-java8
> Goal is to replace all '{{new File(}}' appearances with Path / Paths

This message was sent by Atlassian JIRA

View raw message