@Delete
 @Path("/reports/{errorEntry.id}/comments/{comment.id}/answers/{answer.id}")
 @LoggedIn
 public void remove(Comment answer, Comment comment) {
   comment = commentDAO.retrieve(comment.getId());
   answer = commentDAO.retrieve(answer.getId());
   if ((loggedUser.getUser().getRole().getCanDeleteOwnCommment()
           && loggedUser.getUser().equals(answer.getUser()))
       || loggedUser.getUser().getRole().getCanDeleteOtherUserCommment()) {
     errorEntryLogic.removeAnswer(answer, comment);
   } else {
     LOG.warn("Invalid user tried to delete answer " + loggedUser.getUser() + " : " + comment);
   }
 }
 @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);
   }
 }