You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ge...@apache.org on 2018/04/10 12:31:56 UTC

[incubator-netbeans] branch master updated: #517: Prevent a project to be a subproject of itself (#490)

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 <ja...@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
geertjan@apache.org.

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

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