public String toString()

in maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java [442:467]


    public String toString() {
        StringBuilder result = new StringBuilder(author == null ? " null " : author);
        result.append("\n").append(date == null ? "null " : date.toString()).append("\n");
        List<String> tags = getTags();
        if (!tags.isEmpty()) {
            result.append("tags:").append(tags).append("\n");
        }
        // parent(s)
        if (parentRevision != null) {
            result.append("parent: ").append(parentRevision);
            if (!getMergedRevisions().isEmpty()) {
                result.append(" + ");
                result.append(getMergedRevisions());
            }
            result.append("\n");
        }
        if (files != null) {
            for (ChangeFile file : files) {
                result.append(file == null ? " null " : file.toString()).append("\n");
            }
        }

        result.append(comment == null ? " null " : comment);

        return result.toString();
    }