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

[T6A2][F11-B3]LEUNG Cheuk Ting #508

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

Conversation

ctleungac
Copy link

No description provided.

Copy link

@xpdavid xpdavid left a comment

Choose a reason for hiding this comment

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

Some comment are added in #497 already. There is only one activity in this tutorial :P

@@ -0,0 +1,29 @@
package seedu.addressbook.storage;
Copy link

Choose a reason for hiding this comment

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

You also need to update the test case.
We are using stub here, which means in LogicTest we only care whether the logic works or not. We don't need to test the storage part anymore. (Yeah, there is somewhere in LogicTest that verifies whether the storage works or not. Find by yourself. :) )



public AddressBook load() throws StorageOperationException{
return this.addressBook;
Copy link

Choose a reason for hiding this comment

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

Why do you need this code here? A return null is enough? Stubs don't usually do any work.

@xpdavid
Copy link

xpdavid commented Mar 3, 2017

@ctleungac Some comments added. Please close the PR after reading comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants