Skip to content

Commit

Permalink
#T-10855 [chore] 지역변수 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
KWY0218 committed May 31, 2024
1 parent 8405fc1 commit 6bf98a0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

0 comments on commit 6bf98a0

Please sign in to comment.