commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IO-157) [FileUtils] Return target File from copyFileToDirectory()
Date Thu, 05 Aug 2010 00:39:17 GMT

     [ https://issues.apache.org/jira/browse/IO-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niall Pemberton updated IO-157:
-------------------------------

    Fix Version/s: 2.x
                       (was: 2.0)

Re-consider this if/when we break compatibility

> [FileUtils] Return target File from copyFileToDirectory()
> ---------------------------------------------------------
>
>                 Key: IO-157
>                 URL: https://issues.apache.org/jira/browse/IO-157
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 1.4
>            Reporter: Kenny MacLeod
>            Priority: Minor
>             Fix For: 2.x
>
>
> It would be useful if the FileUtils.copyFileToDirectory() method returned the target
file to which it does the copy.  Currently, it creates the target File object, passes it to
copyFile(), and discards the reference.  This could just be returned from the method instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message