-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[W6.2i][F09-4] Rachel Lee #138
base: master
Are you sure you want to change the base?
Conversation
Added user story for "edit" function
This reverts commit 2a861d6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall good job! Just be careful that when an interface has a new method, the classes implementing it should also add the new method implementation
@@ -8,7 +8,7 @@ | |||
* A read-only immutable interface for a Person in the addressbook. | |||
* Implementations should guarantee: details are present and not null, field values are validated. | |||
*/ | |||
public interface ReadOnlyPerson { | |||
public interface ReadOnlyPerson extends Printable{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this interface is implemented by the Person class, the new methods also need to be implemented in that class. Alternative is to have the Person class implementing Printable instead.
Not done, unsure of how to implement printable interface.