at a15271a [MPIR-385] - Emails in mailing list section of pom are improperly handled
This branch includes the following new commits:
new a15271a [MPIR-385] - Emails in mailing list section of pom are improperly handled
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[MPIR-385] - Emails in mailing list section of pom are improperly handled
- Corrected the generated link for emails in the mailing-list report.
- Added asserts in the testReport() UT to avoid future regressions.
Corrected as it was not showing exactly the same output than before when the emails were null.
Factored out method createEmailLinkPatternedText() to render email links with a default value.
.../report/projectinfo/MailingListsReport.java | 32 +++++++++++++++-------
.../report/projectinfo/MailingListsReportTest.java | 8 ++++++
2 files changed, 30 insertions(+), 10 deletions(-)
diff --git a/src/main/java/org/apache/maven/report/projectinfo/MailingListsReport.java b/src/main/java/org/apache/maven/report/projectinfo/MailingListsReport.java
index 1b6411b..39b415f 100644
@@ -161,18 +161,11 @@ public class MailingListsReport
// Validate here subsribe/unsubsribe lists and archives?
textRow.add( mailingList.getName() );