diff --git a/src/main/java/seedu/address/logic/commands/DeleteAllCommand.java b/src/main/java/seedu/address/logic/commands/DeleteAllCommand.java index 4ee3d642dae..3975462aee9 100644 --- a/src/main/java/seedu/address/logic/commands/DeleteAllCommand.java +++ b/src/main/java/seedu/address/logic/commands/DeleteAllCommand.java @@ -1,8 +1,6 @@ package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; - -import seedu.address.model.AddressBook; import seedu.address.model.Model; /** @@ -12,8 +10,8 @@ public class DeleteAllCommand extends Command { public static final String COMMAND_WORD = "delete-all"; public static final String CONFIRMATION = - "Are you sure you want to delete all? This action is irreversible. If yes, enter ‘delete-all-f’. " + - "If not, simply enter 'no'."; + "Are you sure you want to delete all? This action is irreversible. If yes, enter ‘delete-all-f’. " + + "If not, simply enter 'no'."; /** * Executes the command and returns the result message. diff --git a/src/main/java/seedu/address/logic/commands/ForceDeleteAllCommand.java b/src/main/java/seedu/address/logic/commands/ForceDeleteAllCommand.java index 4b8fb67a075..0a5210deff5 100644 --- a/src/main/java/seedu/address/logic/commands/ForceDeleteAllCommand.java +++ b/src/main/java/seedu/address/logic/commands/ForceDeleteAllCommand.java @@ -5,6 +5,9 @@ import seedu.address.model.AddressBook; import seedu.address.model.Model; +/** + * Deletes all persons in the address book forcefully. + */ public class ForceDeleteAllCommand extends Command { public static final String COMMAND_WORD = "delete-all-f"; public static final String MESSAGE_SUCCESS = "Successfully deleted all data"; diff --git a/src/main/java/seedu/address/logic/commands/NoCommand.java b/src/main/java/seedu/address/logic/commands/NoCommand.java index aaf76dfd6a9..a6fd8c5f11d 100644 --- a/src/main/java/seedu/address/logic/commands/NoCommand.java +++ b/src/main/java/seedu/address/logic/commands/NoCommand.java @@ -1,10 +1,11 @@ package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; - -import seedu.address.model.AddressBook; import seedu.address.model.Model; +/** + * No command, do nothing. + */ public class NoCommand extends Command { public static final String COMMAND_WORD = "no";