Skip to content

Commit

Permalink
refactor - #122 불필요한 코드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
kseysh committed Jun 18, 2024
1 parent 89edffc commit 72deb6b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ public class Challenge extends BaseTimeEntity {
private Long goalTime;

@OneToMany(mappedBy = "challenge", cascade = CascadeType.REMOVE, orphanRemoval = true)
private List<ChallengeApp> apps = new ArrayList<>();
private List<ChallengeApp> apps;

@OneToMany(mappedBy = "challenge", cascade = CascadeType.REMOVE, orphanRemoval = true)
private final List<DailyChallenge> historyDailyChallenges = new ArrayList<>();
private List<DailyChallenge> historyDailyChallenges;

@Builder
private Challenge(Integer period, Long userId, Long goalTime, List<ChallengeApp> apps) {
Expand Down

0 comments on commit 72deb6b

Please sign in to comment.