jochenw commented on PR #586:
URL: https://github.com/apache/commons-io/pull/586#issuecomment-2119218511

   Quoting @elharo: "A file that does not exist is not an illegal or 
inappropriate argument. "
   
   That is, in my opinion, a matter of policy, hence questionable.
   
   My personal opinion is this: It is the callers responsibility to ensure, 
that a file exists, before invoking an operation like copyFile, or moveFile. 
How that is ensured, is up to the caller. However, if you adopt that opinion, 
then it is clearly an illegal argument.
   
   Whatever, I do not wish to continue this discussion. In the end, it is 
pointless. The current code works,  as documented. (@throws IAE.) Even if we 
agreed on your policies, I'd still hold to the statement "Works as documented 
(perhaps not exactly as expected by you), so no need to fix anything."
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to