Skip to content

Commit 1351056

Browse files
committed
Refactor : 글자수 제한 수정
1 parent 7671f20 commit 1351056

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/festival/common/util/ValidationUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void isGuideValid(GuideReq guide) {
3535
public void isBoothValid(BoothReq booth) {
3636
checkStrLength(booth.getTitle(), 1, 30);
3737
checkStrLength(booth.getSubTitle(), 1, 50);
38-
checkStrLength(booth.getContent(), 1, 800);
38+
checkStrLength(booth.getContent(), 1, 1000);
3939
checkNumberRange(booth.getLatitude(), -90.0, 90.0);
4040
checkNumberRange(booth.getLongitude(), -180, 180);
4141
String[] typeList = {"FOOD_TRUCK", "FLEA_MARKET", "PUB"};
@@ -46,7 +46,7 @@ public void isBoothValid(BoothReq booth) {
4646
public void isProgramValid(ProgramReq program) {
4747
checkStrLength(program.getTitle(), 1, 30);
4848
checkStrLength(program.getSubTitle(), 1, 50);
49-
checkStrLength(program.getContent(), 1, 800);
49+
checkStrLength(program.getContent(), 1, 1000);
5050
checkNumberRange(program.getLatitude(), -90.0, 90.0);
5151
checkNumberRange(program.getLongitude(), -180, 180);
5252
String[] typeList = {"EVENT", "GAME"};

0 commit comments

Comments
 (0)