diff --git a/src/main/java/seedu/address/logic/commands/ListCommand.java b/src/main/java/seedu/address/logic/commands/ListCommand.java index e76c3083a79..c0e90050f19 100644 --- a/src/main/java/seedu/address/logic/commands/ListCommand.java +++ b/src/main/java/seedu/address/logic/commands/ListCommand.java @@ -1,7 +1,9 @@ package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; -import static seedu.address.model.Model.*; +import static seedu.address.model.Model.PREDICATE_SHOW_ALL_CCAS; +import static seedu.address.model.Model.PREDICATE_SHOW_ALL_PERSONS; +import static seedu.address.model.Model.PREDICATE_SHOW_ALL_REMINDERS; import seedu.address.model.Model; diff --git a/src/main/java/seedu/address/logic/parser/AddressBookParser.java b/src/main/java/seedu/address/logic/parser/AddressBookParser.java index 7a55fd42173..f7803a4ac97 100644 --- a/src/main/java/seedu/address/logic/parser/AddressBookParser.java +++ b/src/main/java/seedu/address/logic/parser/AddressBookParser.java @@ -2,6 +2,7 @@ import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; + import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -112,7 +113,7 @@ public Command parseCommand(String userInput) throws ParseException { case ReminderDeleteCommand.COMMAND_WORD: return new ReminderDeleteCommandParser().parse(arguments); - + case ReminderFindCommand.COMMAND_WORD: return new ReminderFindCommandParser().parse(arguments); diff --git a/src/main/java/seedu/address/logic/parser/reminder/ReminderFindCommandParser.java b/src/main/java/seedu/address/logic/parser/reminder/ReminderFindCommandParser.java index a4362afc116..6de4dbc7bdf 100644 --- a/src/main/java/seedu/address/logic/parser/reminder/ReminderFindCommandParser.java +++ b/src/main/java/seedu/address/logic/parser/reminder/ReminderFindCommandParser.java @@ -1,6 +1,7 @@ package seedu.address.logic.parser.reminder; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; + import java.util.Arrays; import seedu.address.logic.commands.reminder.ReminderFindCommand;