From ceaebde189972e4790dd6117a2eba22ecf9efe97 Mon Sep 17 00:00:00 2001 From: markgcera <> Date: Mon, 13 Nov 2023 00:26:38 +0800 Subject: [PATCH] add default break case --- src/main/java/seedu/address/ui/RoomPieChart.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/seedu/address/ui/RoomPieChart.java b/src/main/java/seedu/address/ui/RoomPieChart.java index 2bacd808d05..e3f4fa94242 100644 --- a/src/main/java/seedu/address/ui/RoomPieChart.java +++ b/src/main/java/seedu/address/ui/RoomPieChart.java @@ -64,9 +64,11 @@ public RoomPieChart(ObservableList bookingList) { case SUITES: availableSuites--; break; - default: + case PRESIDENTIAL_SUITE: availablePresidentialSuites--; break; + default: + break; } }