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

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git


The following commit(s) were added to refs/heads/master by this push:
     new ba67760  display "-" instead of "0 / 0" when no data
ba67760 is described below

commit ba677603ebad08a2c14b1ebce9b19528b482476b
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Sat Feb 13 21:45:28 2021 +0100

    display "-" instead of "0 / 0" when no data
---
 .../java/org/apache/maven/dist/tools/branches/ListBranchesMojo.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/maven/dist/tools/branches/ListBranchesMojo.java 
b/src/main/java/org/apache/maven/dist/tools/branches/ListBranchesMojo.java
index c14aabe..83963e2 100644
--- a/src/main/java/org/apache/maven/dist/tools/branches/ListBranchesMojo.java
+++ b/src/main/java/org/apache/maven/dist/tools/branches/ListBranchesMojo.java
@@ -344,7 +344,7 @@ public class ListBranchesMojo extends AbstractMavenReport
                 sink.tableCell();
                 if ( r.getJiraBranchesGit() == 0 ) 
                 {
-                    sink.text( "0 / 0" );
+                    sink.text( "-" );
                 }
                 else
                 {
@@ -358,7 +358,7 @@ public class ListBranchesMojo extends AbstractMavenReport
                 sink.tableCell();
                 if ( r.getDependabotBranchesGit() == 0 ) 
                 {
-                    sink.text( "0 / 0" );
+                    sink.text( "-" );
                 }
                 else
                 {
@@ -372,7 +372,7 @@ public class ListBranchesMojo extends AbstractMavenReport
                 sink.tableCell();
                 if ( r.getRestGit() == 0 ) 
                 {
-                    sink.text( "0 / 0" );
+                    sink.text( "-" );
                 }
                 else
                 {

Reply via email to