/** * 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 addComment(Comment comment) { if (getComments() != null) { return getComments().addData(comment); } return false; }