-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add Commands and Parsers for Meetings, Fix Error Messages for Invalid Commands #127
Add Commands and Parsers for Meetings, Fix Error Messages for Invalid Commands #127
Conversation
# Conflicts: # src/main/java/seedu/address/logic/parser/AddressBookParser.java
Codecov Report
@@ Coverage Diff @@
## master #127 +/- ##
============================================
- Coverage 45.62% 44.71% -0.91%
Complexity 536 536
============================================
Files 140 145 +5
Lines 2558 2612 +54
Branches 266 270 +4
============================================
+ Hits 1167 1168 +1
- Misses 1336 1389 +53
Partials 55 55
Continue to review full report at Codecov.
|
Person person = new Person(name, phone, tagList); | ||
|
||
return new AddCommand(person); | ||
if (type.contains("p")) { |
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.
Can use static variables here, eg PREFIX_PAPERWORK = "p"
@@ -94,7 +93,7 @@ public void setMeetings(seedu.address.model.calendar.UniqueMeetingList replaceme | |||
*/ | |||
public void setMeetings(List<CalendarMeeting> meetings) { | |||
requireAllNonNull(meetings); | |||
if (!propertiesAreUnique(meetings)) { | |||
if (!meetingsAreUnique(meetings)) { |
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 catch
No description provided.