private void removeComment(IssueChangeHolder issueChangeHolder, Map commentParams) {
   final ApplicationUser user = authenticationContext.getUser();
   final ErrorCollection errorCollection = new SimpleErrorCollection();
   final long commentId = Long.valueOf((String) commentParams.get(PARAM_COMMENT_ID));
   Comment comment = commentService.getCommentById(user, commentId, errorCollection);
   commentService.delete(new JiraServiceContextImpl(user, errorCollection), comment, true);
   if (errorCollection.hasAnyErrors()) {
     log.error(
         "Error updating comment id '"
             + commentId
             + "' Error(s): '"
             + errorCollection.toString()
             + "'");
   } else {
     issueChangeHolder.setComment(comment);
   }
 }