Skip to content

Commit

Permalink
Merge pull request #356 from BunnyHoppp/branch-FixPedBug
Browse files Browse the repository at this point in the history
Fix behaviour bug for edit command.
  • Loading branch information
Tanziyanghenry authored Nov 11, 2024
2 parents 687a873 + d12c1f4 commit a1ddf22
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public EditCommand parse(String args) throws ParseException {
throw new ParseException(String.format(MESSAGE_INVALID_COMMAND_FORMAT, EditCommand.MESSAGE_USAGE), pe);
}

argMultimap.verifyNoDuplicatePrefixesFor(PREFIX_NAME, PREFIX_PHONE, PREFIX_EMAIL, PREFIX_ADDRESS, PREFIX_SEX,
PREFIX_STUDENT_CLASS, PREFIX_ECNAME, PREFIX_ECNUMBER);
argMultimap.verifyNoDuplicatePrefixesFor(PREFIX_NAME, PREFIX_PHONE, PREFIX_EMAIL, PREFIX_ADDRESS,
PREFIX_REGISTER_NUMBER, PREFIX_SEX, PREFIX_STUDENT_CLASS, PREFIX_ECNAME, PREFIX_ECNUMBER);

EditPersonDescriptor editPersonDescriptor = new EditPersonDescriptor();

Expand Down

0 comments on commit a1ddf22

Please sign in to comment.