Skip to content

[T6A3][F10-C4]Li Xiaowei#849

Open
LiXiaoooowei wants to merge 2 commits intonus-cs2103-AY1617S1:masterfrom
LiXiaoooowei:T6A3
Open

[T6A3][F10-C4]Li Xiaowei#849
LiXiaoooowei wants to merge 2 commits intonus-cs2103-AY1617S1:masterfrom
LiXiaoooowei:T6A3

Conversation

@LiXiaoooowei
Copy link

Ready to view

Copy link

@chanjunweimy chanjunweimy 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! Nice try! ^^

private StorageFile storage;
private AddressBook addressBook;

public StorageStub storage;

Choose a reason for hiding this comment

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

image

Hmm... if you look at the expected UML diagram, Logic should point to Storage, so it should be public Storage storage. :)

public TemporaryFolder saveFolder = new TemporaryFolder();

private StorageFile saveFile;
private StorageStub saveFile;

Choose a reason for hiding this comment

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

Good job! You can consider using Storage saveFile too, since Storage saveFile = new StorageStub() works too! But you did correctly, no worries! ^^

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