private void constructAction()

in src/main/java/org/apache/maven/plugins/changes/ChangesReportRenderer.java [153:207]


    private void constructAction(Action action) {
        sink.tableRow();

        sinkShowTypeIcon(action.getType());

        sink.tableCell();

        String actionDescription = action.getAction();

        text(actionDescription);

        // no null check needed classes from modello return a new ArrayList
        if (StringUtils.isNotEmpty(action.getIssue())
                || (!action.getFixedIssues().isEmpty())) {
            if (StringUtils.isNotBlank(actionDescription) && !actionDescription.endsWith(".")) {
                text(".");
            }
            text(" " + bundle.getString("report.changes.text.fixes") + " ");

            // Try to get the issue management system specified in the changes.xml file
            String system = action.getSystem();
            // Try to get the issue management system configured in the POM
            if (StringUtils.isEmpty(system)) {
                system = this.system;
            }
            // Use the default issue management system
            if (StringUtils.isEmpty(system)) {
                system = DEFAULT_ISSUE_SYSTEM_KEY;
            }
            if (!canGenerateIssueLinks(system)) {
                constructIssueText(action.getIssue(), action.getFixedIssues());
            } else {
                constructIssueLink(action.getIssue(), system, action.getFixedIssues());
            }
            text(".");
        }

        if (!action.getDueTos().isEmpty()) {
            constructDueTo(action);
        }

        sink.tableCell_();

        if (NO_TEAM.equals(team) || action.getDev() == null || action.getDev().isEmpty()) {
            sinkCell(action.getDev());
        } else {
            sinkCellLink(action.getDev(), team + "#" + action.getDev());
        }

        if (addActionDate) {
            sinkCell(action.getDate());
        }

        sink.tableRow_();
    }