gnodet commented on code in PR #1208: URL: https://github.com/apache/maven/pull/1208#discussion_r1304514826
########## maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java: ########## @@ -465,6 +469,28 @@ public void getRemoteFile( } } + private void copyFile(File source, File destination) throws IOException { Review Comment: > I wouldn't assume the existing method is correct. Please use the JDK Files.copy method instead It already uses Files.copy, so I think that's fine. If needed, it can be inlined, but I don't see the benefit. -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org