The following modification will also recursively traverse the directory that the symbolic link points to. This modification is not proposed for deleteRecursively, since it can be harmful if not intended.

This modification relates to the following commit: Consistent use of NIO.2 for file read/write interactions Issue: SPR-15748 spring-projects@12114a9

Comment From: pivotal-issuemaster

@mavigdor Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: rstoyanchev

The PR only adds a couple of imports. How does that accomplish anything?

Comment From: jhoeller

@mavigdor it looks like the PR misses the actual code-level changes in the copyRecursively method that you suggested in your commit comment...

Comment From: mavigdor

Yes that is strange. I will redo the commit. Thanks

Comment From: mavigdor

I have created a new pull request (https://github.com/spring-projects/spring-framework/pull/24823) and verified that the changes are there. I will close this one. Thank you.