fix: SonarCloud 정적 분석 이슈 정리 (logger, dead code, utility class 개선)#76
Merged
fix: SonarCloud 정적 분석 이슈 정리 (logger, dead code, utility class 개선)#76
Conversation
added 11 commits
January 25, 2026 23:46
|
Contributor
|
확인했습니다! 머지할게요 |
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.


🔗 Related Issue
📝 Description
🛠 Changes
System.out.println, System.err.println 사용 제거
SLF4J 기반 log.info, log.error로 전환
예외 로깅 시 stack trace 포함하도록 수정
실행되지 않는 주석 코드(//System.out.println, 미사용 변수 선언 등) 삭제
SonarCloud “commented-out code” 이슈 해결
CountryValidator, EmojiValidator 등에 private 생성자 추가
암묵적 public 생성자 제거로 인스턴스화 방지
사용되지 않는 EMOJI_PATTERN 정규식 필드 삭제
Uncovered / unused code 경고 해결
getAuthorities()에서 null 반환 제거 → Collections.emptyList() 반환
NPE 가능성 제거
영향 범위
기능 로직 변경 없음
기존 API 동작 및 비즈니스 로직 영향 없음
로그 출력 방식만 변경