File tree Expand file tree Collapse file tree
src/main/java/ceos/backend/domain/application/domain Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,14 +78,6 @@ public static Application of(
7878 .build ();
7979 }
8080
81- public boolean isInterviewChecked () {
82- return interviewCheck != AvailableCheck .UNDECIDED ;
83- }
84-
85- public boolean isFinalChecked () {
86- return finalCheck != AvailableCheck .UNDECIDED ;
87- }
88-
8981 public void addApplicationAnswerList (List <ApplicationAnswer > applicationAnswers ) {
9082 this .applicationAnswers = applicationAnswers ;
9183 }
@@ -135,13 +127,13 @@ public void validateFinalPass() {
135127 }
136128
137129 public void validateNotFinalCheck () {
138- if (this .isFinalChecked () ) {
130+ if (this .finalCheck != AvailableCheck . UNDECIDED ) {
139131 throw AlreadyCheckFinal .EXCEPTION ;
140132 }
141133 }
142134
143135 public void validateNotInterviewCheck () {
144- if (this .isInterviewChecked () ) {
136+ if (this .interviewCheck != AvailableCheck . UNDECIDED ) {
145137 throw AlreadyCheckInterview .EXCEPTION ;
146138 }
147139 }
You can’t perform that action at this time.
0 commit comments