Skip to content

Conversation

@Paritosh-Pranjal
Copy link

Paritosh

}
}

private void addProject(String name) {

Choose a reason for hiding this comment

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

create a POJO for project and use it here.

}

private void addTask(String project, String description) {
public void addTask(String project, String description) {

Choose a reason for hiding this comment

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

don't use primitives in method parameters,make use of POJO.

}

private void setDone(String idString, boolean done) {
public void setDone(String idString, boolean done) {

Choose a reason for hiding this comment

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

use POJO, eliminate primitive obsession.

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.

2 participants