You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/08 13:02:00 UTC

[jira] [Work logged] (IO-625) FileUtils.copyDirectoryToDirectory does not reflect srcDir in exception message when srcDir is not a directory

     [ https://issues.apache.org/jira/browse/IO-625?focusedWorklogId=308493&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-308493 ]

ASF GitHub Bot logged work on IO-625:
-------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Sep/19 13:01
            Start Date: 08/Sep/19 13:01
    Worklog Time Spent: 10m 
      Work Description: mikkomaunu commented on pull request #95: [IO-625] FileUtils.copyDirectoryToDirectory does not reflect srcDir in exception message when srcDir is not a directory
URL: https://github.com/apache/commons-io/pull/95
 
 
   Fix and unit tests for https://issues.apache.org/jira/browse/IO-625.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 308493)
    Remaining Estimate: 0h
            Time Spent: 10m

> FileUtils.copyDirectoryToDirectory does not reflect srcDir in exception message when srcDir is not a directory
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: IO-625
>                 URL: https://issues.apache.org/jira/browse/IO-625
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.6
>            Reporter: Mikko Maunu
>            Priority: Trivial
>         Attachments: FileUtilsCopyDirectoryToDirectoryTestCase.java
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When destDir parameter to FileUtils.copyDirectoryToDirectory method is not a directory, exception message contains srcDir instead of destDir.
> Related issue is, that based on Javadocs one would expect IOException instead of IllegalArgumentException. Changing type of the exception would probably break some clients. Fixing message seems reasonable.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)