Skip to content

Commit

Permalink
Merge 01d124a into 23e20a2
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyingli committed Mar 24, 2020
2 parents 23e20a2 + 01d124a commit 8a3ed53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public AddCommand parse(String args) throws ParseException {
Optional<String> genderString = argMultimap.getValue(PREFIX_GENDER);
Gender gender = genderString.isPresent()
? ParserUtil.parseGender(argMultimap.getValue(PREFIX_GENDER).get())
: new Gender("male");
: new Gender("");
Phone phone = ParserUtil.parsePhone(argMultimap.getValue(PREFIX_PHONE).get());
Email email = ParserUtil.parseEmail(argMultimap.getValue(PREFIX_EMAIL).get());
Address address = ParserUtil.parseAddress(argMultimap.getValue(PREFIX_ADDRESS).get());
Expand Down

0 comments on commit 8a3ed53

Please sign in to comment.