garydgregory commented on a change in pull request #203:
URL: https://github.com/apache/commons-io/pull/203#discussion_r573300829
##########
File path: src/main/java/org/apache/commons/io/file/CopyDirectoryVisitor.java
##########
@@ -153,7 +155,7 @@ public FileVisitResult preVisitDirectory(final Path
directory, final BasicFileAt
@Override
public FileVisitResult visitFile(final Path sourceFile, final
BasicFileAttributes attributes) throws IOException {
- final Path targetFile =
targetDirectory.resolve(sourceDirectory.relativize(sourceFile));
+ final Path targetFile =
targetDirectory.resolve(sourceDirectory.relativize(sourceFile).toString());
Review comment:
As above...
----------------------------------------------------------------
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:
[email protected]