diff --git a/src/test/java/seedu/address/testutil/PersonBuilder.java b/src/test/java/seedu/address/testutil/PersonBuilder.java index ff5ddbdb5f3..6be381d39ba 100644 --- a/src/test/java/seedu/address/testutil/PersonBuilder.java +++ b/src/test/java/seedu/address/testutil/PersonBuilder.java @@ -8,7 +8,6 @@ import seedu.address.model.person.Name; import seedu.address.model.person.Person; import seedu.address.model.person.Phone; -import seedu.address.model.person.Remark; import seedu.address.model.tag.Tag; import seedu.address.model.util.SampleDataUtil; @@ -21,13 +20,11 @@ public class PersonBuilder { public static final String DEFAULT_PHONE = "85355255"; public static final String DEFAULT_EMAIL = "amy@gmail.com"; public static final String DEFAULT_ADDRESS = "123, Jurong West Ave 6, #08-111"; - public static final String DEFAULT_REMARK = "She likes aardvarks."; private Name name; private Phone phone; private Email email; private Address address; - private Remark remark; private Set tags; /** @@ -38,7 +35,6 @@ public PersonBuilder() { phone = new Phone(DEFAULT_PHONE); email = new Email(DEFAULT_EMAIL); address = new Address(DEFAULT_ADDRESS); - remark = new Remark(DEFAULT_REMARK); tags = new HashSet<>(); } @@ -50,7 +46,6 @@ public PersonBuilder(Person personToCopy) { phone = personToCopy.getPhone(); email = personToCopy.getEmail(); address = personToCopy.getAddress(); - remark = personToCopy.getRemark(); tags = new HashSet<>(personToCopy.getTags()); } @@ -94,16 +89,8 @@ public PersonBuilder withEmail(String email) { return this; } - /** - * Sets the {@code Remark} of the {@code Person} that we are building. - */ - public PersonBuilder withRemark(String remark) { - this.remark = new Remark(remark); - return this; - } - public Person build() { - return new Person(name, phone, email, address, remark, tags); + return new Person(name, phone, email, address, tags); } }