Skip to content

Commit

Permalink
Merge pull request #217 from Cazh1/master
Browse files Browse the repository at this point in the history
Update Code Quality
  • Loading branch information
DextheChik3n authored Nov 1, 2023
2 parents d80103e + 7a4e3f3 commit 20a8d13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Shows a list of all dishes on the menu
Format: `list_menu`

Example:
```agsl
```
+-----------------------------------------+
| Ah, behold, the grand menu of delights! |
+--------------------------+--------------+
Expand Down Expand Up @@ -171,7 +171,7 @@ Adds an order consisting of dishes off the menu to an order list
Format: `add_order name/DISH_NAME qty/DISH_QTY`

Example:
```agsl
```
> add_order name/chicken rice qty/2
I'm busy crafting your selected dish in the virtual kitchen of your dreams. Bon appétit!
-----------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion src/main/java/seedu/cafectrl/command/AddOrderCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public void execute() {
orderList.addOrder(order);
Chef chef = new Chef(order, pantry, ui, menu);
chef.cookDish();
//pantry.printPantryStock();
if (order.getIsComplete()) {
orderList.addCost(order);
}
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/seedu/cafectrl/parser/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ private static Command prepareHelpCommand(Ui ui) {
return new HelpCommand(ui);
}

//@@author
//@@author Cazh1
/**
* Parses arguments in the context of the AddOrder command.
*
Expand Down Expand Up @@ -553,7 +553,6 @@ private static Command prepareShowSalesByDay(String arguments, Ui ui, Sales sale
return new IncorrectCommand(ErrorMessages.INVALID_DAY_FORMAT, ui);
}
}
//@@author

//@@author Cazh1
/**
Expand Down

0 comments on commit 20a8d13

Please sign in to comment.