diff --git a/operation-domain/src/main/java/org/sopt/makers/operation/user/domain/SocialType.java b/operation-domain/src/main/java/org/sopt/makers/operation/user/domain/SocialType.java index 765d7fc3..bfca14f9 100644 --- a/operation-domain/src/main/java/org/sopt/makers/operation/user/domain/SocialType.java +++ b/operation-domain/src/main/java/org/sopt/makers/operation/user/domain/SocialType.java @@ -8,8 +8,7 @@ public enum SocialType { public static boolean isContains(String type) { - SocialType[] socialTypes = SocialType.values(); - return Arrays.stream(socialTypes) + return Arrays.stream(SocialType.values()) .anyMatch(socialType -> socialType.name().equals(type)); } }