From a379507cb69bd9a9e335935154a5213bf7d5750e Mon Sep 17 00:00:00 2001 From: le2sky Date: Thu, 12 Oct 2023 01:06:37 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20:=20hasLength=20->=20hasText?= =?UTF-8?q?=EB=A1=9C=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mealkitary/reservation/web/GetReservationController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt index e45e6ab..cd204dc 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt @@ -24,7 +24,7 @@ class GetReservationController( @GetMapping fun getAllReservation(@RequestParam("shopId") shopId: String?): ResponseEntity> { - if (!StringUtils.hasLength(shopId)) { + if (!StringUtils.hasText(shopId)) { throw IllegalArgumentException("가게 식별자는 필수입니다.") }