ascopes commented on code in PR #1046:
URL: 
https://github.com/apache/maven-plugin-tools/pull/1046#discussion_r2637694109


##########
maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/javadoc/JavaJavadocMojoDescriptorExtractor.java:
##########
@@ -573,4 +579,21 @@ protected void validate(MojoDescriptor mojoDescriptor) 
throws InvalidParameterEx
             }
         }
     }
+
+    private boolean isExcludedDirectory(Collection<File> excludedDirectories, 
File sourceFile) {
+        if (excludedDirectories == null) {

Review Comment:
   Guards against the user configuring the value as explicitly null, despite 
the fact it defaults to an empty list.



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

Reply via email to