/** * Adds a comment * @param comment the comment that should be added * @return true if the comment was added, false otherwise * @deprecated work on the {@code Comments} object directly instead of using this method */ @Deprecated public boolean removeComment(Comment comment) { if (getComments() != null) { return getComments().removeData(comment); } return false; }