[MSHARED-1107] Make copyFile succeed with source file having by kwin · Pull Request #105 · apache/maven-shared-utils (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Merged
merged 2 commits into
Jul 25, 2022
Conversation
lastModified() = 0
Also check for existence of destination file
Is NIO2 prone to this error? If not, why not use the FileTime there?
NIO2 would throw a proper exception when checking last modified date on a non existing file, but that wouldn't help here either. So an existence check is necessary even when using NIO2 for modified date.
kwin and others added 2 commits
…fied() = 0
Also check for existence of destination file before overwriting.
This closes apache#105
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Labels
Something isn't working