Skip to content

Commit

Permalink
add default break case
Browse files Browse the repository at this point in the history
  • Loading branch information
markgcera committed Nov 12, 2023
1 parent 87056a0 commit ceaebde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/seedu/address/ui/RoomPieChart.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ public RoomPieChart(ObservableList<Booking> bookingList) {
case SUITES:
availableSuites--;
break;
default:
case PRESIDENTIAL_SUITE:
availablePresidentialSuites--;
break;
default:
break;
}
}

Expand Down

0 comments on commit ceaebde

Please sign in to comment.