-
Notifications
You must be signed in to change notification settings - Fork 113
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
[W5][W13-4]Chua Eng Soon #148
base: master
Are you sure you want to change the base?
Conversation
Great work overall! The coding style is very consistent and follows the guideline. The update command would definitely prove useful, since it's obviously a chore to remove and add the user entirely. |
Good call in adding functionality of updating a contact - a thing that a user often does because people often change their personal details, like phone number and address |
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.
Very thorough enhancement with well-updated tests and documentation. Great! Watch your coding style though, especially spacing.
Close PR after reading @chuaes
String phone, boolean isPhonePrivate, | ||
String email, boolean isEmailPrivate, | ||
String address, boolean isAddressPrivate, | ||
Set<String> tags) throws IllegalValueException { |
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.
Indentation is a bit strange here - either align the parameters vertically or keep everything to the left one indent in from the start of the declaration, maybe.
new Phone(phone, isPhonePrivate), | ||
new Email(email, isEmailPrivate), | ||
new Address(address, isAddressPrivate), | ||
tagSet |
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.
Indent 4 spaces each time?
Ready for review.