-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BE] refactor: question 타입과 답변 내용 일치 검증 및 매핑 로직 개선 (#958)
* refactor: 타입에 대한 분기를 answerMapper 안에서 처리할 수 있도록 * refactor: 사용하지 않는 코드 제거 * refactor: 하나의 테스트에 한가지를 테스트하도록 * refactor: 추상화를 더욱 활용하도록 * style: 개행 통일 * refactor: getQuestionType 없애고 바로 supports를 사용하도록 * refactor: 다른 유형의 답변이 동시에 입력되는지에 대한 검증 삭제 * refactor: 함수 이름 변경 * style: 띄어쓰기 추가 * refactor: 접근제한자 변경 * refactor: 접근제한자 변경 - 팀의 컨벤션을 위해 & 유지보수 편한 코드를 위해 접근 제한자를 public & private 으로 통일 * refactor: AnswerMapper 변경 - abstract class -> interface * fix: 컴파일 에러 해결 - abstract class -> interface 변환 하면서 extends -> implements 변경되지 않은 부분 변경
- Loading branch information
Showing
9 changed files
with
71 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
backend/src/main/java/reviewme/review/service/mapper/AnswerMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters