return author;
}
public CommitComment addComment(Long pullRequestId, String bodyText) {
CommitComment commitComment = new CommitComment();
User author = createAuthor();
commitComment.setUser(author);
commitComment.setCommitId("" + pullRequestId);
commitComment.setId(commentId.getAndIncrement());
commitComment.setBody(bodyText);
commitComment.setBodyText(bodyText);
List<CommitComment> comments;
if (allComments.containsKey(pullRequestId)) {
comments = allComments.get(pullRequestId);
} else {