Skip to content

Commit

Permalink
chore: Conflict 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-seong committed Mar 15, 2024
1 parent 3069d78 commit f9c5d6e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ protected static RatioStatistic create(Question question) {
public void updateStatistic(Answer answer) {
increaseTotalCount();

if (answer.getType().isOption()) {
increaseOptionCount(answer);
}
}

private void increaseOptionCount(Answer answer) {
Question question = answer.getQuestion();
String optionId = answer.getAnswer().toString();
Legend legend = getLegend(optionId)
Expand Down

0 comments on commit f9c5d6e

Please sign in to comment.