Skip to content
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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

chuaes
Copy link

@chuaes chuaes commented Feb 12, 2019

Ready for review.

@sickerin
Copy link

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.

@wfxronald
Copy link

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

Copy link

@ewaldhew ewaldhew left a 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 {

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

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants