Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] Milestone의 isClosed 네이밍 #136

Open
ghost opened this issue Jun 21, 2021 · 0 comments
Open

[BE] Milestone의 isClosed 네이밍 #136

ghost opened this issue Jun 21, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 21, 2021

"is"prefix가 붙은 변수의 속성 값으로
boolean을 사용하며 네이밍을 is"XXXX" 로 사용할 경우,

IDE에서 생성되는 getter, setter의 모습
Lombok을 이용하여 생성되는 getter, setter의 모습이 다름.
(현재 isClosed멤버 변수의 getter메서드의 모습은 isClosed()로 표기됨)

  • 해결 방안
  1. 타입을 래퍼클래스 Boolean으로 사용
  2. 타입을 boolean으로 사용 하고, isClosed() getter() 메서드를 작성
  3. 그냥 사용
@ghost ghost added the backend Backend label Jun 21, 2021
@ghost ghost added this to the [BE] 마일스톤 서비스, 도메인 milestone Jun 21, 2021
@ghost ghost assigned ghost and Dae-Hwa Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend
Projects
None yet
Development

No branches or pull requests

1 participant