You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/03/07 14:47:27 UTC

[jira] Reopened: (IO-157) [FileUtils] Return target File from copyFileToDirectory()

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

Sebb reopened IO-157:
---------------------

      Assignee:     (was: Niall Pemberton)

Reverted:

URL: http://svn.apache.org/viewvc?rev=919995&view=rev
Log:
Revert r919684 - not binary compatible

Modified:
   commons/proper/io/trunk/src/java/org/apache/commons/io/FileUtils.java

> [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.0
>
>
> 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.