You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2011/03/12 01:48:59 UTC
[jira] Resolved: (IO-264) FileUtils.moveFile() JavaDoc should
specify FileExistsException thrown
[ https://issues.apache.org/jira/browse/IO-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niall Pemberton resolved IO-264.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.1
Assignee: Niall Pemberton
Thanks, I updated the javadocs for the following methods:
* moveFile()
* moveFileToDirectory()
* moveDirectory()
* moveToDirectory()
* moveDirectoryToDirectory()
http://svn.apache.org/viewvc?view=revision&revision=1080825
> FileUtils.moveFile() JavaDoc should specify FileExistsException thrown
> ----------------------------------------------------------------------
>
> Key: IO-264
> URL: https://issues.apache.org/jira/browse/IO-264
> Project: Commons IO
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0
> Reporter: Maciej Biłas
> Assignee: Niall Pemberton
> Priority: Trivial
> Fix For: 2.1
>
>
> FileUtils.moveFile() JavaDoc does specify the behaviour of the method in a case when the destFile exists. It would be helpful to know from the JavaDoc that in such case an exception is thrown as it's not immediately obvious.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira