-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edit : OAuth 로그인 프로세스 변경 #169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
깊게 생각해보진 않았는데 User 생성자를 Public으로 하는 방법밖에 없을까요..?
SEVENTY("70~79", "70-79", "70대"), | ||
EIGHTY("80~89", "80-89", "80대"), | ||
NINETY("90~", "90-", "90이상"); | ||
UNKNOWN("0", "0", "알 ㅅ 없음", 0), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오타 있습니다~
for (AgeGroup a : values()) { | ||
//현재 연령대의 사용자의 나이가 포함된다면 | ||
if (a.getMaxAge()>=age) { | ||
userAgeGroup = a; | ||
} | ||
} | ||
return userAgeGroup; | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return문이 if문 안에 있어야 정상 흐름 아닌가욥??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
break 건 다는걸 놓쳤네요..!! 감사합니다~!
정적 팩토리 메서드를 다 수정해야 줘야 한다 생각했는데, 지금 생각해보니 그냥 하나 더 만들면 되겠네요!! |
⛏ 작업 상세 내용
✅ 중점적으로 리뷰 할 부분
참고사항