-
Notifications
You must be signed in to change notification settings - Fork 4
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
Modify the edit command and parser for teamTags #49
Modify the edit command and parser for teamTags #49
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #49 +/- ##
============================================
+ Coverage 73.56% 73.57% +0.01%
Complexity 452 452
============================================
Files 77 77
Lines 1407 1408 +1
Branches 148 148
============================================
+ Hits 1035 1036 +1
Misses 325 325
Partials 47 47
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
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.
LGTM other than the two parts of commented out code.
You can put the reason in later commits (do remember though, otherwise someone might delete it accidentally in their merge commit)
@@ -262,6 +262,7 @@ && getPhone().equals(e.getPhone()) | |||
&& getEmail().equals(e.getEmail()) | |||
&& getAddress().equals(e.getAddress()) | |||
&& getMajor().equals(e.getMajor()) | |||
//&& getTeams().equals(e.getTeams()) |
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.
Is there a reason why this is commented out for now?
//if (argMultimap.getAllValues(PREFIX_TEAM).isEmpty()) { | ||
// editPersonDescriptor.setTeams(new HashSet<>()); | ||
//} |
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.
I think you should put a reason above commented out codes so we know why the code is not deleted and also why the code is not implemented.
Resolve #47
The previous change made for the edit command did not import the PREFIX_TEAM from CliSyntax in EditCommandParser, so edit command for TeamTags is not working.