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 5fa442e  fix issues reported by Checkstyle
5fa442e is described below

commit 5fa442ef265907818cf815c2290f0d69f4baaa87
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Tue Feb 22 18:06:52 2022 +0100

    fix issues reported by Checkstyle
---
 .../org/apache/maven/dist/tools/masterjobs/ListMasterJobsReport.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/maven/dist/tools/masterjobs/ListMasterJobsReport.java
 
b/src/main/java/org/apache/maven/dist/tools/masterjobs/ListMasterJobsReport.java
index 5995566..18f0dfc 100644
--- 
a/src/main/java/org/apache/maven/dist/tools/masterjobs/ListMasterJobsReport.java
+++ 
b/src/main/java/org/apache/maven/dist/tools/masterjobs/ListMasterJobsReport.java
@@ -186,8 +186,9 @@ public class ListMasterJobsReport extends 
AbstractMavenReport
                     {
                         sink.rawText( " style=\"color:red\"" );
                     }
-                    sink.rawText( ">(" + ( ( r.getLastBuild() == null ) ? "-" :
-                                             r.getLastBuild().format( 
DateTimeFormatter.ISO_LOCAL_DATE ) )
+                    sink.rawText( ">(" + ( ( r.getLastBuild() == null )
+                                           ? "-"
+                                           : r.getLastBuild().format( 
DateTimeFormatter.ISO_LOCAL_DATE ) )
                                   + ")</span> " );
 
                     sink.link( r.getBuildUrl() );

Reply via email to