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

skygo 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 a3028ba  remove not apidoc release
     new 48d6f28  Merge pull request #3079 from ebarboni/releasetweak
a3028ba is described below

commit a3028ba54c83b0bdbf0124b44fc7d6570378b8cd
Author: Eric Barboni <[email protected]>
AuthorDate: Wed Jul 28 16:18:51 2021 +0200

    remove not apidoc release
---
 nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java 
b/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java
index d144b9a..8de5ee0 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/ReleaseJsonProperties.java
@@ -114,6 +114,9 @@ public class ReleaseJsonProperties extends Task {
         } catch (ParseException | IOException ex) {
             throw new BuildException(ex);
         }
+        
+        // remove empty api doc 
+        ri.removeIf(e -> e.apidocurl.isEmpty());
         // sort all information
         Collections.sort(ri);
         // build a sorted xml

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

Reply via email to