[ https://issues.apache.org/jira/browse/IO-625?focusedWorklogId=308513&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-308513 ]
ASF GitHub Bot logged work on IO-625: ------------------------------------- Author: ASF GitHub Bot Created on: 08/Sep/19 15:05 Start Date: 08/Sep/19 15:05 Worklog Time Spent: 10m Work Description: coveralls commented on issue #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#issuecomment-529201594 [![Coverage Status](https://coveralls.io/builds/25593099/badge)](https://coveralls.io/builds/25593099) Coverage increased (+0.07%) to 89.308% when pulling **a3a0bfa102f7b304c067d670a7bf32aa45863a6e on mikkomaunu:IO-625-improve-copydirectorytodirectory-exception-message** into **58324c1cfb9814b390a8750b0ba97dc5367817a8 on apache:master**. ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 308513) Time Spent: 1h 20m (was: 1h 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: 1h 20m > 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)