This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new fb50e23  [NETBEANS-3898] skip hidden files in 
ModuleList.doScanNetBeansOrgSources
     new e963a30  Merge pull request #2152 from errael/SkipHiddenFiles
fb50e23 is described below

commit fb50e2344fd036414dba51a5b8602f3b8bdae517
Author: Ernie Rael <err...@raelity.com>
AuthorDate: Sat May 23 17:34:16 2020 +0100

    [NETBEANS-3898] skip hidden files in ModuleList.doScanNetBeansOrgSources
---
 .../org/netbeans/modules/apisupport/project/universe/ModuleList.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/ModuleList.java
 
b/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/ModuleList.java
index 256e0ef..2154e48 100644
--- 
a/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/ModuleList.java
+++ 
b/apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/ModuleList.java
@@ -469,8 +469,8 @@ public final class ModuleList {
                 continue;
             }
             String name = kid.getName();
-            if (EXCLUDED_DIR_NAMES.contains(name)) {
-                // #61579: known to not be project dirs, so skip to save time.
+            if (name.startsWith(".") || EXCLUDED_DIR_NAMES.contains(name)) { 
// NOI18N
+                // #61579/[NETBEANS-3898]: known to not be project dirs, so 
skip to save time.
                 continue;
             }
             String newPathPrefix = (pathPrefix != null) ? pathPrefix + "/" + 
name : name; // NOI18N


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to