in src/main/java/org/apache/maven/plugins/pmd/PmdReportRenderer.java [353:381]
private void renderProcessingErrors() {
if (processingErrors.isEmpty()) {
return;
}
// sort the problem by filename first, since PMD is executed multi-threaded
// and might reports the results unsorted
List<ProcessingError> processingErrorsCopy = new ArrayList<>(processingErrors);
Collections.sort(processingErrorsCopy, new Comparator<ProcessingError>() {
@Override
public int compare(ProcessingError e1, ProcessingError e2) {
return e1.getFilename().compareTo(e2.getFilename());
}
});
startSection(getI18nString("processingErrors.title"));
startTable();
tableHeader(new String[] {
getI18nString("processingErrors.column.filename"), getI18nString("processingErrors.column.problem")
});
for (ProcessingError error : processingErrorsCopy) {
renderSingleProcessingError(error);
}
endTable();
endSection();
}