diff --git a/src/main/java/seedu/binbash/Parser.java b/src/main/java/seedu/binbash/Parser.java index de6f04c7a3..8d60c18f70 100644 --- a/src/main/java/seedu/binbash/Parser.java +++ b/src/main/java/seedu/binbash/Parser.java @@ -19,12 +19,12 @@ public Command parseCommand(String userInput) { String arguments = tokens.length > 1 ? tokens[1] : ""; switch (commandString) { - case "delete": - return parseDeleteCommand(arguments); - case "list": - return parseListCommand(arguments); - default: - return null; + case "delete": + return parseDeleteCommand(arguments); + case "list": + return parseListCommand(arguments); + default: + return null; } } @@ -42,3 +42,4 @@ private Command parseListCommand(String arguments) { return new ListCommand(itemList); } } +