-
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
Create ModulePlan and Refactor #107
Create ModulePlan and Refactor #107
Conversation
Module editedCS2040S = new ModuleBuilder() | ||
.withCode("CS2040S") | ||
.withYear("1") | ||
.withSem("1") |
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.
The semester input here does not correspond to the format after changing
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.
ok fixed
@@ -105,7 +105,7 @@ public Module find(ModuleCode code) { | |||
return mods[i]; | |||
} | |||
} | |||
throw new ModuleNotFoundException(); | |||
return null; |
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.
JavaDocs at line 98 can be removed accordingly
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.
Ok removed.
LGTM👍 |
#106
Tests for EditCommand and FindCommand still require refactoring to ModulePlan.
Storage for ModulePlan not yet implemented.