From 9c40169c34b3acfb03dee9102ece2c4cec1a9be2 Mon Sep 17 00:00:00 2001 From: Amos Ting Date: Fri, 10 Nov 2023 16:51:11 +0800 Subject: [PATCH] Fix comment command successful message. --- src/main/java/seedu/address/logic/Messages.java | 2 +- src/main/java/seedu/address/logic/commands/CommentCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/seedu/address/logic/Messages.java b/src/main/java/seedu/address/logic/Messages.java index 2f0553c378d..39c40558b35 100644 --- a/src/main/java/seedu/address/logic/Messages.java +++ b/src/main/java/seedu/address/logic/Messages.java @@ -12,7 +12,7 @@ */ public class Messages { - public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command"; + public static final String MESSAGE_UNKNOWN_COMMAND = "Unknown command."; public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s"; public static final String MESSAGE_INVALID_PERSON_DISPLAYED_INDEX = "Error: Invalid index. " + "Please enter an index within range."; diff --git a/src/main/java/seedu/address/logic/commands/CommentCommand.java b/src/main/java/seedu/address/logic/commands/CommentCommand.java index 2a5cc1404a8..8fc45be8d25 100644 --- a/src/main/java/seedu/address/logic/commands/CommentCommand.java +++ b/src/main/java/seedu/address/logic/commands/CommentCommand.java @@ -29,7 +29,7 @@ public class CommentCommand extends Command { + "Example: " + COMMAND_WORD + " 1 " + PREFIX_COMMENT + "Hardworking student"; - public static final String MESSAGE_ADD_COMMENT_SUCCESS = "Added comment to Person: %1$s"; + public static final String MESSAGE_ADD_COMMENT_SUCCESS = "Applicant has been successfully commented on."; public static final String MESSAGE_DELETE_COMMENT_SUCCESS = "Removed comment from Person: %1$s."; private final Index index;