Repository navigation
refactor: careFacility 패키지를 facility 로 - #135
Merged
Merged
Conversation
도메인 패키지 중 하나만 낙타등이었다. 한 군데만 다른 규칙이면 새로 들어온 사람이 둘 다 흉내 내서 규칙이 둘로 갈린다. 클래스 이름(CareFacility 등)은 그대로 둔다. 엔티티 이름을 바꾸면 JPQL 문자열까지 전부 손봐야 하고, '돌봄시설' 이라는 뜻은 CareFacility 가 더 정확하다. 바꾼 것은 패키지 자리뿐이다. 구조 규칙 위반: 489 → 391 (네이밍 98건 해소). 파일 이동이라 baseline 을 한 번 다시 떴고, 다른 규칙 숫자가 늘지 않았음을 확인했다.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #132 (1b 단계)
왜
도메인 패키지 8개 중 하나만 낙타등이었다. 한 군데만 다른 규칙이면 새로 들어온 사람이 둘 다 흉내 내서 규칙이 둘로 갈린다.
구조 규칙 위반: 489 → 391
클래스 이름은 그대로 뒀다
CareFacility·CareFacilityService등은 바꾸지 않았다.CareFacility가 더 정확하다 —Facility는 시설 일반을 가리킨다바꾼 것은 패키지 자리뿐이다(86개 파일의 package·import).
baseline 재생성
파일 이동이라 위반 설명의 경로가 바뀐다.
freeze.refreeze=true로 한 번 다시 뜨고 규칙별 숫자가 늘지 않았음을 확인한 뒤false로 되돌렸다.테스트
전체 600 tests, 실패 0, skip 0. 문서(시스템 개요·아키텍처 다이어그램)도 함께 갱신했다.