You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/03/12 23:27:14 UTC
DO NOT REPLY [Bug 27615] -
[IO] Last modified date not preserved in FileUtils.copyFile()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27615>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27615
[IO] Last modified date not preserved in FileUtils.copyFile()
jeremias@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From jeremias@apache.org 2004-03-12 22:27 -------
Suggestion implemented. Thanks.
I've added an additional variant of fileCopy that lets you disable the file
date preservation which is enabled by default (in the other two methods).
I had to add "Thread.sleep(200)" calls in the test cases to slow down things
because otherwise failures wouldn't have been detectable in fast systems.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org