@Delete
 @Path("/reports/{errorEntry.id}/comments/{comment.id}")
 @LoggedIn
 public void remove(Comment comment) {
   if (LOG.isDebugEnabled()) {
     LOG.debug("Will delete cooment." + commentDAO);
   }
   comment = commentDAO.retrieve(comment.getId());
   if ((loggedUser.getUser().getRole().getCanDeleteOwnCommment()
           && loggedUser.getUser().equals(comment.getUser()))
       || loggedUser.getUser().getRole().getCanDeleteOtherUserCommment()) {
     errorEntryLogic.removeComment(comment);
   } else {
     LOG.warn("Invalid user tried to delete comment " + loggedUser.getUser() + " : " + comment);
   }
 }