if( reviews.size() == 0 ) {
continue;
}
result.append(artifactIdentifier.getName()).append(" (rev. ").append(artifactIdentifier.getRevision()).append(")\n--------------------------------------------------\n");
Map<Author, Float> responsibilities = collabReview.getMeasurementsManager().getArtifactResponsibility().listResponsibilities(artifact);
Author mainContributor = responsibilities.keySet().iterator().next();
result.append(String.format("Main contributor: %s (%.1f%%)\n", mainContributor.getName(), responsibilities.get(mainContributor) * 100));
for (Review review : reviews) {
result.append(String.format("Review (rated %d): %s", review.getRating(), review.getReviewText()));
}
result.append("******\n\n\n");
}