로딩
요청 처리 중입니다...

[Refactoring] 함수 선언 변경하기

 [Refactoring] 함수 선언 변경하기

함수 이름 변경 private void studyReviews(GHIssue issue) throws IOException { List comments = issue.getComments(); for (GHIssueComment comment : comments) { usernames.add(comment.getUserName()); reviews.add(comment.getBody()); } } 메서드 이름을 보고 스터디를 리뷰하는 것인지, 리뷰를 가져오는 것인지 헷갈린다. 먼저 주석을 작성해보자 스터디 리뷰 이슈에 작성되어 있는 리뷰어 목록과 리뷰를 읽어온다.

읽어오는 것이기에 로딩이 더 맞지 않을까?? private void loadReviews() throws IOException { List comments = issue.getComments(); for (GHIssueComment comment : comments)...

# Refactoring # 리팩토링 # 파라미터 # 함수선언변경