Skip to content

Commit

Permalink
[BE] FIX : isValid in CabinetStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeDaeWook committed Aug 23, 2023
1 parent 0f17bb3 commit 5a67b60
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ public enum CabinetStatus {
BROKEN, AVAILABLE, FULL, OVERDUE, IN_SESSION, PENDING;

public boolean isValid() {
return this.equals(BROKEN) || this.equals(AVAILABLE) || this.equals(FULL) ||
this.equals(LIMITED_AVAILABLE) || this.equals(OVERDUE);
return this.equals(BROKEN) || this.equals(AVAILABLE) || this.equals(FULL) || this.equals(
OVERDUE)
|| this.equals(IN_SESSION) || this.equals(PENDING);
}
}

0 comments on commit 5a67b60

Please sign in to comment.