Skip to content

Commit

Permalink
refactor: MultipleChoiceQuiz 리스트 필드 final
Browse files Browse the repository at this point in the history
  • Loading branch information
wonslee committed Jan 20, 2024
1 parent 3712f94 commit e949f21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class MultipleChoiceQuiz extends Quiz {
@OneToMany(mappedBy = "multipleChoiceQuiz", cascade = CascadeType.ALL, orphanRemoval = true)
private List<MultipleChoice> multipleChoiceList = new ArrayList<>();
private final List<MultipleChoice> multipleChoiceList = new ArrayList<>();

@Builder
public MultipleChoiceQuiz(String question, String explanation) {
Expand Down

0 comments on commit e949f21

Please sign in to comment.