maven-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/MNG-6444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548166#comment-16548166
] 

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: https://issues.apache.org/jira/browse/MNG-6444
>             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
(v7.6.3#76005)

Mime
View raw message