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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1bbc9ef  #517: Prevent a project to be a subproject of itself (#490)
1bbc9ef is described below

commit 1bbc9ef6fda1bcdbede134ff2982f31b4b8c77b2
Author: Jaroslav Tulach <jaroslav.tul...@oracle.com>
AuthorDate: Tue Apr 10 14:31:54 2018 +0200

    #517: Prevent a project to be a subproject of itself (#490)
---
 .../modules/apisupport/project/queries/SubprojectProviderImpl.java       | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/apisupport.ant/src/org/netbeans/modules/apisupport/project/queries/SubprojectProviderImpl.java
 
b/apisupport.ant/src/org/netbeans/modules/apisupport/project/queries/SubprojectProviderImpl.java
index 5ae73d0..f2a363d 100644
--- 
a/apisupport.ant/src/org/netbeans/modules/apisupport/project/queries/SubprojectProviderImpl.java
+++ 
b/apisupport.ant/src/org/netbeans/modules/apisupport/project/queries/SubprojectProviderImpl.java
@@ -153,6 +153,7 @@ public final class SubprojectProviderImpl implements 
SubprojectProvider {
                 }
             }
         }
+        s.remove(project);
         return s;
     }
     

-- 
To stop receiving notification emails like this one, please contact
geert...@apache.org.

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