Skip to content

Commit

Permalink
refactor: 정적 팩토리 메서드 네이밍 수정 #8
Browse files Browse the repository at this point in the history
  • Loading branch information
PgmJun committed Jan 18, 2024
1 parent a17bfcb commit eeace2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class SocialInfo {
@Enumerated(EnumType.STRING)
private SocialType socialType;

public static SocialInfo from(String id, SocialType type) {
public static SocialInfo of(String id, SocialType type) {
return new SocialInfo(id, type);
}
}

0 comments on commit eeace2b

Please sign in to comment.