elharo commented on PR #133:
URL: 
https://github.com/apache/maven-shared-utils/pull/133#issuecomment-1464893311

   That is correct. It's not a 1:1 replacement, but it does serve the same 
purpose. Starting from a green field it's no more work to write new code on top 
of Files.walkFileTree or DirectoryStream instead of DirectoryScanner; and those 
are more familiar since they're in the JDK. However, migrating from existing 
DirectoryScanner to one of the JDK alternatives is not a simple search and 
replace. I'm working on some of those migrations now which is where I noticed 
Files.walkFileTree was also a good option. 


-- 
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

Reply via email to