Skip to content

Commit

Permalink
Refactor : 글자수 제한 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gkfktkrh153 committed Oct 10, 2023
1 parent 7671f20 commit 1351056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/festival/common/util/ValidationUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void isGuideValid(GuideReq guide) {
public void isBoothValid(BoothReq booth) {
checkStrLength(booth.getTitle(), 1, 30);
checkStrLength(booth.getSubTitle(), 1, 50);
checkStrLength(booth.getContent(), 1, 800);
checkStrLength(booth.getContent(), 1, 1000);
checkNumberRange(booth.getLatitude(), -90.0, 90.0);
checkNumberRange(booth.getLongitude(), -180, 180);
String[] typeList = {"FOOD_TRUCK", "FLEA_MARKET", "PUB"};
Expand All @@ -46,7 +46,7 @@ public void isBoothValid(BoothReq booth) {
public void isProgramValid(ProgramReq program) {
checkStrLength(program.getTitle(), 1, 30);
checkStrLength(program.getSubTitle(), 1, 50);
checkStrLength(program.getContent(), 1, 800);
checkStrLength(program.getContent(), 1, 1000);
checkNumberRange(program.getLatitude(), -90.0, 90.0);
checkNumberRange(program.getLongitude(), -180, 180);
String[] typeList = {"EVENT", "GAME"};
Expand Down

0 comments on commit 1351056

Please sign in to comment.