You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/02/17 10:14:01 UTC

[maven-project-info-reports-plugin] branch MPIR-380 updated: Checkstyle errors are fixed

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

rfscholte pushed a commit to branch MPIR-380
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git


The following commit(s) were added to refs/heads/MPIR-380 by this push:
     new 10c88ad  Checkstyle errors are fixed
10c88ad is described below

commit 10c88aded55b8ed2f931edec416f337bcfdc65d5
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Sun Feb 17 14:51:58 2019 +0700

    Checkstyle errors are fixed
---
 src/main/java/org/apache/maven/report/projectinfo/TeamReport.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/report/projectinfo/TeamReport.java b/src/main/java/org/apache/maven/report/projectinfo/TeamReport.java
index 2a6859e..d9ff379 100644
--- a/src/main/java/org/apache/maven/report/projectinfo/TeamReport.java
+++ b/src/main/java/org/apache/maven/report/projectinfo/TeamReport.java
@@ -279,7 +279,8 @@ public class TeamReport
             }
             if ( headersMap.get( EMAIL ) == Boolean.TRUE )
             {
-                tableCell( createLinkPatternedText( member.getEmail(), String.format("mailto:%s", member.getEmail()) ) );
+                final String link = String.format( "mailto:%s", member.getEmail() );
+                tableCell( createLinkPatternedText( member.getEmail(), link ) );
             }
             if ( headersMap.get( URL ) == Boolean.TRUE )
             {