Skip to content

Commit

Permalink
fix: 불필요 메소드 삭제 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
623nana committed Aug 19, 2021
1 parent 3a81139 commit 71ee05d
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,4 @@ public class SendOption {

@OneToMany(mappedBy = "sendOption", fetch = FetchType.LAZY, cascade = CascadeType.ALL)
private final List<Question> questions = new ArrayList<>();

public boolean isMatchQuestion(Long questionId) {
for (Question question : questions) {
if (question.isMatch(questionId)) {
return true;
}
}
return false;
}
}

0 comments on commit 71ee05d

Please sign in to comment.