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

Remove unused test, implement new tests #81

Merged
merged 2 commits into from Oct 24, 2018

Conversation

Meowzz95
Copy link

No description provided.

@Meowzz95 Meowzz95 merged commit 0ee9339 into CS2113-AY1819S1-T13-2:master Oct 24, 2018
import com.t13g2.forum.storage.IStorageStub;
import com.t13g2.forum.storage.forum.ForumBookStorage;

public class ForumBookStorageBuilder {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add a javadoc comment


private IStorageStub() {
storage = new HashMap<>();
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

constructor definition in wrong order

return _instance;
}

private HashMap<Class, Object> storage;
Copy link
Collaborator

Choose a reason for hiding this comment

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

instance variable definition in wrong order

_instance = new IStorageStub();
}

private Object copyObject(Object objSource) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

missing javadoc comment

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.

None yet

2 participants