Skip to content

Commit 1980a20

Browse files
elharoslawekjaranowski
authored andcommitted
suggest java.nio.Files.walkFileTree as replacement for DirectoryScanner
1 parent 0dd10e9 commit 1980a20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/apache/maven/shared/utils/io/DirectoryScanner.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@
115115
* @author Magesh Umasankar
116116
* @author <a href="mailto:[email protected]">Bruce Atherton</a>
117117
* @author <a href="mailto:[email protected]">Antoine Levy-Lambert</a>
118-
* @deprecated use {@code java.nio.file.DirectoryStream} and related classes
118+
* @deprecated use {@code java.nio.file.DirectoryStream} or {@code java.nio.Files.walkFileTree()}
119+
* and related classes
119120
*/
120121
@Deprecated
121122
public class DirectoryScanner {

0 commit comments

Comments
 (0)