jglick commented on code in PR #5739:
URL: https://github.com/apache/netbeans/pull/5739#discussion_r1152228659
##########
java/java.source.base/src/org/netbeans/api/java/source/SourceUtils.java:
##########
@@ -684,6 +688,9 @@ private abstract static class Match {
}
final boolean apply(final FileObject fo) {
+ if (fo.isFolder()) {
+ return false;
Review Comment:
I suppose so. My limited understanding of the original change was that
`name` could sometimes include the extension, like `X.scala` or something? At
any rate, clearly it was intended to match on files and never folders.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists