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

Implemented AddMilestoneCommandParser #48

Closed
wants to merge 16 commits into from

Conversation

JeremyAw
Copy link

Milestone Class: Changed "rank" type from Integer to String
Updated LogicManager
Fixed minor checkstyle issues

@JeremyAw JeremyAw added the priority.high Must do label Oct 20, 2018
@JeremyAw JeremyAw added this to the v1.3 milestone Oct 20, 2018
@JeremyAw JeremyAw self-assigned this Oct 20, 2018
Copy link

@chel-seyy chel-seyy left a comment

Choose a reason for hiding this comment

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

Please pull again, this is not the latest version.

super(title, milestoneDescription, new PriorityLevel("high"));
//this.title = title;
//this.milestoneDescription = milestoneDescription;
this.rank = rank;
}

public Integer getRank() {
public String getRank() {

Choose a reason for hiding this comment

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

More intuitive to have rank as a int? U may consider parsingRank as a string then converting it into an integer.

@JeremyAw JeremyAw changed the base branch from tasks to master October 21, 2018 01:51
@@ -15,13 +17,15 @@
private final String description;
private final PriorityLevel priorityLevel;
private boolean isCompleted;
private final Set<Milestone> milestoneSet;

Choose a reason for hiding this comment

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

Setting milestoneSet to final means you cannot add new milestones to it, or change deadlines in the milestones

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.

None yet

2 participants