-
Notifications
You must be signed in to change notification settings - Fork 153
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
base: master
Are you sure you want to change the base?
Conversation
Remove isPrivate attribute from Block, Unit, Street and PostalCode.
… for additional Block, Street, Unit and PostalCode classes
…nit and PostalCode classes
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.
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) { |
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.
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.
Only the commits on 14th March is significant for this LO!