private boolean canGenerateIssueLinks()

in src/main/java/org/apache/maven/plugins/changes/ChangesReportRenderer.java [115:131]


    private boolean canGenerateIssueLinks(String system) {
        if (!this.issueLinksPerSystem.containsKey(system)) {
            return false;
        }
        String issueLink = this.issueLinksPerSystem.get(system);

        // If the issue link entry is blank then no links are possible
        if (StringUtils.isBlank(issueLink)) {
            return false;
        }

        // If the %URL% token is used then the issue management system URL must be set.
        if (issueLink.contains(URL_TOKEN) && StringUtils.isBlank(url)) {
            return false;
        }
        return true;
    }