addressbook-level4
addressbook-level4 copied to clipboard
Teach UndoCommand & RedoCommand to print the command that was undone / redone
Prerequisite #547
To solve this issue, simply update MESSAGE_SUCCESS
(see the regex of EditCommand#MESSAGE_EDIT_PERSON_SUCCESS
), and return new CommandResult(String.format(MESSAGE_EDIT_PERSON_SUCCESS, undoneCommand))