Skip to content

Conversation

@win777
Copy link
Contributor

@win777 win777 commented Sep 18, 2025

수정 사유 (Reason for modification)

소스를 수정한 사유가 무엇인지 체크해 주세요. (Please check the reason you modified the source.) ([X] X는 대문자여야 합니다.)

  • 버그수정 Bug fixes
  • 기능개선 Enhancements
  • 기능추가 Adding features
  • 기타 Others

수정된 소스 내용 (Modified source)

  • Deprecated 생성자 사용 제거: valueOf로 모든 숫자 타입 값 변환하였습니다.
  • 향후 Deprecated 예상되어 코드 변경하였습니다.

AS-IS
image

TO-BE
image

※ BigDecimal은 Text 인자를 valueOf를 통해 받지 않으므로 기존 방식 그대로 유지하였습니다.

Copy link
Collaborator

@eGovFrameSupport eGovFrameSupport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java에서 기본 타입 래퍼 클래스의 생성자들이 deprecated 되었고, 그 대신 valueOf() 메소드를 권장하고 있으며, 이 권장사항을 반영한 PR 내용을 확인하였습니다.

컨트리뷰션 참여에 깊은 감사의 말씀 드립니다.

@eGovFrameSupport eGovFrameSupport merged commit 7911802 into eGovFramework:main Sep 22, 2025
1 check failed
@win777 win777 deleted the change-deprecated-codes branch September 22, 2025 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants