elharo commented on code in PR #81:
URL:
https://github.com/apache/maven-dependency-analyzer/pull/81#discussion_r1141458835
##########
src/main/java/org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtils.java:
##########
@@ -108,41 +106,30 @@ private static void acceptJar( URL url, ClassFileVisitor
visitor )
private static void acceptDirectory( File directory, ClassFileVisitor
visitor )
throws IOException
{
- if ( !directory.isDirectory() )
+
+ List<Path> classFiles = Files.walk( directory.toPath() )
+ .filter( path -> path.toFile().getName().endsWith( ".class" ) )
Review Comment:
might have to revert that. It seems to break the integration tests on
Windows in a way that indicates a real issue.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]