-
Notifications
You must be signed in to change notification settings - Fork 104
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.11][F10-3] Ong Wee Keong #177
base: master
Are you sure you want to change the base?
[W5.11][F10-3] Ong Wee Keong #177
Conversation
…_command Added confirm/cancel clear option to after clear command
Includes Clear/Cancel command prompt guide
Update UserGuide
Add delete_name command
Trying to merge
added total command and edited user guide
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.
A sensible improvement for checking duplicate person. On a hindsight, will having the same phone OR email suffice as well? Also, remember to update the help command as well as the test cases to reflect the change.
&& other.getEmail().equals(this.getEmail()) | ||
|| (other.getName().equals(this.getName()) | ||
&& (other.getPhone().equals(this.getPhone()) | ||
|| other.getEmail().equals(this.getEmail())))); |
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.
Nice improvement on the duplication checks!
Edited restrictions to 'add' command: