From 8b24127c44d403de6d38c3d6abc253c4c38b37ec Mon Sep 17 00:00:00 2001 From: yorklim <yorklim1016@gmail.com> Date: Tue, 9 Apr 2024 00:22:59 +0800 Subject: [PATCH] Fix grammar and space error in addpolicy and deletepolicy --- .../java/seedu/address/logic/commands/DeletePolicyCommand.java | 2 +- src/main/java/seedu/address/model/policy/Policy.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/seedu/address/logic/commands/DeletePolicyCommand.java b/src/main/java/seedu/address/logic/commands/DeletePolicyCommand.java index 57b41f29110..ff4f95de01d 100644 --- a/src/main/java/seedu/address/logic/commands/DeletePolicyCommand.java +++ b/src/main/java/seedu/address/logic/commands/DeletePolicyCommand.java @@ -23,7 +23,7 @@ public class DeletePolicyCommand extends Command { public static final String COMMAND_WORD = "deletepolicy"; public static final String MESSAGE_USAGE = COMMAND_WORD + ": Deletes a policy from the policy list of the client" - + "identified by the index number used in the displayed client list.\n" + + " identified by the index number used in the displayed client list.\n" + "Parameters: " + "INDEX (must be a positive integer) " + PREFIX_POLICYID + "POLICYID\n" diff --git a/src/main/java/seedu/address/model/policy/Policy.java b/src/main/java/seedu/address/model/policy/Policy.java index 282bec113bc..4290470e897 100644 --- a/src/main/java/seedu/address/model/policy/Policy.java +++ b/src/main/java/seedu/address/model/policy/Policy.java @@ -16,7 +16,7 @@ public class Policy { * The constant MESSAGE_CONSTRAINTS_ID. */ public static final String MESSAGE_CONSTRAINTS_ID = - "Policy ID should only contain numbers, and it should be at least 1 digits long"; + "Policy ID should only contain numbers, and it should be at least 1 digit long"; /** * The constant VALIDATION_NAME_REGEX. */