You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dominik Derwiński (Jira)" <ji...@apache.org> on 2021/01/19 08:36:00 UTC
[jira] [Closed] (IO-695) Exception while there should be none in
copyFile
[ https://issues.apache.org/jira/browse/IO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominik Derwiński closed IO-695.
--------------------------------
Resolution: Resolved
> Exception while there should be none in copyFile
> ------------------------------------------------
>
> Key: IO-695
> URL: https://issues.apache.org/jira/browse/IO-695
> Project: Commons IO
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.8.0
> Reporter: Dominik Derwiński
> Priority: Minor
>
> {{public static void copyFile(final File srcFile, final File destFile, final boolean preserveFileDate)}} java doc says: "If the modification operation fails, no indication is provided", yet the method raises an {{IOException}} "Failed setLastModified on ...".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)