From e1e1b8709dd6c25b9eb79f6db5d687f1f23d2409 Mon Sep 17 00:00:00 2001 From: dong_yxxn Date: Fri, 15 Nov 2024 04:37:27 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20Category.Of=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=98=81=EC=96=B4=EB=A1=9C=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20=EA=B0=80=EB=8A=A5=ED=95=98=EA=B2=8C=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/team7/inplace/place/domain/Category.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/team7/inplace/place/domain/Category.java b/src/main/java/team7/inplace/place/domain/Category.java index 8469478e..faa42096 100644 --- a/src/main/java/team7/inplace/place/domain/Category.java +++ b/src/main/java/team7/inplace/place/domain/Category.java @@ -17,7 +17,7 @@ public enum Category { public static Category of(String name) { for (Category category : values()) { - if (category.name.equals(name)) { + if (category.name.equalsIgnoreCase(name) || category.name().equalsIgnoreCase(name)) { return category; } }