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

Create ModulePlan and Refactor #107

Conversation

xCOLOURx
Copy link

#106

Tests for EditCommand and FindCommand still require refactoring to ModulePlan.
Storage for ModulePlan not yet implemented.

@xCOLOURx xCOLOURx added this to the v1.2b milestone Oct 18, 2023
Module editedCS2040S = new ModuleBuilder()
.withCode("CS2040S")
.withYear("1")
.withSem("1")

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

Copy link
Author

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;

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

Copy link
Author

Choose a reason for hiding this comment

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

Ok removed.

@yyyaohhh
Copy link

LGTM👍

@yyyaohhh yyyaohhh merged commit 05a10df into AY2324S1-CS2103T-T13-0:master Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants