Skip to content

Commit ebb49eb

Browse files
committed
map: Prevent exception during report generation when mapping with --all-hits
1 parent dfcd9de commit ebb49eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/rtg/report/MapReport.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ private String reportSummary(HtmlReportHelper helper, File summaryFile) throws I
241241
if (tParts[tParts.length - 1].endsWith(")")) {
242242
titles.add(" " + tParts[0] + " " + tParts[tParts.length - 3] + " " + tParts[tParts.length - 2] + " " + tParts[tParts.length - 1]);
243243
} else {
244-
titles.add(" " + tParts[0] + " " + tParts[tParts.length - 2] + " " + tParts[tParts.length - 1]);
244+
titles.add(" " + title);
245245
}
246246
}
247247
}

0 commit comments

Comments
 (0)