Skip to content

Commit

Permalink
Remove non-null requirement for tagNames
Browse files Browse the repository at this point in the history
  • Loading branch information
aureliony committed Feb 27, 2024
1 parent e2e21bf commit 10d3015
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/seedu/address/model/person/Person.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public Person(Name name, Phone phone, Email email, Address address, Set<Tag> tag
private Person(@JsonProperty("name") String name, @JsonProperty("phone") String phone,
@JsonProperty("email") String email, @JsonProperty("address") String address,
@JsonProperty("tags") List<String> tagNames) {
requireAllNonNull(name, phone, email, address, tagNames);
this.name = new Name(name);
this.phone = new Phone(phone);
this.email = new Email(email);
Expand Down

0 comments on commit 10d3015

Please sign in to comment.