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

Add Commands and Parsers for Meetings, Fix Error Messages for Invalid Commands #127

Merged
merged 2 commits into from
Oct 12, 2020

Conversation

Christopher-LM
Copy link

No description provided.

Christopher-LM added 2 commits October 12, 2020 16:25
# Conflicts:
#	src/main/java/seedu/address/logic/parser/AddressBookParser.java
@codecov-io
Copy link

Codecov Report

Merging #127 into master will decrease coverage by 0.90%.
The diff coverage is 3.61%.

Impacted file tree graph

@@             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              
Impacted Files Coverage Δ Complexity Δ
...main/java/seedu/address/commons/core/Messages.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...eedu/address/logic/commands/AddMeetingCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...u/address/logic/commands/DeleteMeetingCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...edu/address/logic/commands/ListMeetingCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
.../address/logic/parser/AddMeetingCommandParser.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
.../seedu/address/logic/parser/AddressBookParser.java 61.53% <0.00%> (-5.13%) 12.00 <0.00> (ø)
...dress/logic/parser/DeleteMeetingCommandParser.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...in/java/seedu/address/logic/parser/ParserUtil.java 49.01% <0.00%> (+4.37%) 10.00 <0.00> (ø)
...va/seedu/address/model/calendar/CalendarAdmin.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../seedu/address/model/calendar/CalendarMeeting.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbf7c3d...07a0d91. Read the comment docs.

Person person = new Person(name, phone, tagList);

return new AddCommand(person);
if (type.contains("p")) {
Copy link

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)) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

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.

As a busy REA, I want to create meetings
3 participants