diff --git a/src/main/java/seedu/address/logic/commands/UndoCommand.java b/src/main/java/seedu/address/logic/commands/UndoCommand.java index f42e818b249..bdc026aeffd 100644 --- a/src/main/java/seedu/address/logic/commands/UndoCommand.java +++ b/src/main/java/seedu/address/logic/commands/UndoCommand.java @@ -1,11 +1,10 @@ package seedu.address.logic.commands; +import static java.util.Objects.requireNonNull; + import seedu.address.logic.commands.exceptions.CommandException; -import seedu.address.model.AgentAssist; import seedu.address.model.Model; -import static java.util.Objects.requireNonNull; - /** * Clears the address book. */ diff --git a/src/test/java/seedu/address/logic/commands/UndoCommandTest.java b/src/test/java/seedu/address/logic/commands/UndoCommandTest.java index 3ec690014cc..86c53dba593 100644 --- a/src/test/java/seedu/address/logic/commands/UndoCommandTest.java +++ b/src/test/java/seedu/address/logic/commands/UndoCommandTest.java @@ -1,9 +1,13 @@ package seedu.address.logic.commands; +import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure; +import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess; +import static seedu.address.testutil.TypicalIndexes.INDEX_FIRST_PERSON; +import static seedu.address.testutil.TypicalPersons.getTypicalAgentAssist; + import org.junit.jupiter.api.Test; -import seedu.address.logic.Messages; + import seedu.address.logic.commands.exceptions.CommandException; -import seedu.address.model.AgentAssist; import seedu.address.model.Model; import seedu.address.model.ModelManager; import seedu.address.model.UserPrefs; @@ -11,11 +15,6 @@ import seedu.address.testutil.EditPersonDescriptorBuilder; import seedu.address.testutil.PersonBuilder; -import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure; -import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess; -import static seedu.address.testutil.TypicalIndexes.INDEX_FIRST_PERSON; -import static seedu.address.testutil.TypicalPersons.getTypicalAgentAssist; - public class UndoCommandTest { private Model model = new ModelManager(getTypicalAgentAssist(), new UserPrefs());