From 72deb6b8829b4d8cee2c648ca07858197ce96371 Mon Sep 17 00:00:00 2001 From: kseysh Date: Wed, 19 Jun 2024 02:43:28 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20-=20#122=20=EB=B6=88=ED=95=84?= =?UTF-8?q?=EC=9A=94=ED=95=9C=20=EC=BD=94=EB=93=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/sopt/org/hmh/domain/challenge/domain/Challenge.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/sopt/org/hmh/domain/challenge/domain/Challenge.java b/src/main/java/sopt/org/hmh/domain/challenge/domain/Challenge.java index 8723cd05..a33a1f61 100644 --- a/src/main/java/sopt/org/hmh/domain/challenge/domain/Challenge.java +++ b/src/main/java/sopt/org/hmh/domain/challenge/domain/Challenge.java @@ -33,10 +33,10 @@ public class Challenge extends BaseTimeEntity { private Long goalTime; @OneToMany(mappedBy = "challenge", cascade = CascadeType.REMOVE, orphanRemoval = true) - private List apps = new ArrayList<>(); + private List apps; @OneToMany(mappedBy = "challenge", cascade = CascadeType.REMOVE, orphanRemoval = true) - private final List historyDailyChallenges = new ArrayList<>(); + private List historyDailyChallenges; @Builder private Challenge(Integer period, Long userId, Long goalTime, List apps) {