Skip to content

Commit

Permalink
refactor : hasLength -> hasText로 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
le2sky committed Oct 11, 2023
1 parent 2030855 commit a379507
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class GetReservationController(

@GetMapping
fun getAllReservation(@RequestParam("shopId") shopId: String?): ResponseEntity<List<ReservationResponse>> {
if (!StringUtils.hasLength(shopId)) {
if (!StringUtils.hasText(shopId)) {
throw IllegalArgumentException("가게 식별자는 필수입니다.")
}

Expand Down

0 comments on commit a379507

Please sign in to comment.