-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sohyupar java lv0 #3
base: sohyupar
Are you sure you want to change the base?
Conversation
generateRandomNumberByIdx -> ByMentionCount
오탈자 수정 및 누락된 논리부정 연산자 추가
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.
LGTM 좋슴다
Jpark2 jpark2 = new Jpark2(); | ||
Daewoole daewoole = new Daewoole(jpark2.getMentions()); |
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.
jpark2 객체에서 getMentions로 주입해주는 부분 좋은 것 같습니다! 다만 private final List mentions가 아닌 private final static으로 지정해서 클래스 자체에서 불러오도록 하면 더 좋았을 것 같아요!
|
||
// 범위 내의 랜덤값 생성 | ||
private int generateRandomNumberInRange(int min, int max) { | ||
Random random = new Random(); |
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.
Random과 ThreadLocalRandom 에 대해서도 확인해보시면 좋을 것 같습니다
구조적으로는 더 말씀드릴게 없네요 너무 굳
No description provided.