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

[W8.6b][W09-B4] Chua Li Qun Shawn #961

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

shawnclq
Copy link

Only the commits on 14th March is significant for this LO!

Copy link

@goweiwen goweiwen left a comment

Choose a reason for hiding this comment

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

Good job 👍! I have left some comments. Please close this PR after reading them.

/**
* Adds tagging to class-level variable that stores all taggings
*/
public static void addTagging(Tagging tagging) {

Choose a reason for hiding this comment

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

This forces the caller to manually call addTagging after creating a new Tagging. If he doesn't, the doc comment for getTaggings will be incorrect. One way to solve this would be to move this method into the constructor. Alternatively, a new singleton TaggingList class can be created.

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.

4 participants