No replacement for Files.fileTreeTraverser() and MoreFiles.directoryTreeTraverser()
See original GitHub issueAs of 23.3, com.google.common.collect.TreeTraverser
is deprecated. Are Files.fileTreeTraverser()
and MoreFiles.directoryTreeTraverser()
deprecated too? Should users migrate to java.nio.file.SimpleFileVisitor
?
Note that MoreFiles.directoryTreeTraverser()
appeared in 21.0 (Java 8), despite SimpleFileVisitor
presence (Java 7).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Deprecated API - Guava
The returned TreeTraverser type is deprecated. Use the replacement method MoreFiles.fileTraverser() instead with the same semantics as this method. This method ...
Read more >tried to access method com.google.common ... - Stack Overflow
looks like that the problem seems to be in accessing the method Files.fileTreeTraverser() from class FileUtils. Any ideas why its coming and how ......
Read more >Viewing online file analysis results for 'BetterIntelliJ-1.13.jar'
This report is generated from a file or URL submitted to this webservice on ... Not all malicious and suspicious indicators are displayed....
Read more >jsr305 - OSCHINA - 中文开源技术交流社区
fileTraverser()和MoreFiles.fileTraverser(),并弃用了 Files.fileTreeTraverser()和MoreFiles.directoryTreeTraverser()。还包含以下更新内容:base: Graduated ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We’re adding
Files.fileTraverser()
andMoreFiles.fileTraverser()
asgraph.Traverser
versions of theTreeTraverser
-returning methods and will be deprecating those methods. That should be in this week’s release.Files
andMoreFiles
are also each@Beta
.