Skip to content

[rozaliesmit] iP#206

Open
rozaliesmit wants to merge 21 commits into
nus-cs2113-AY2425S2:masterfrom
rozaliesmit:master
Open

[rozaliesmit] iP#206
rozaliesmit wants to merge 21 commits into
nus-cs2113-AY2425S2:masterfrom
rozaliesmit:master

Conversation

@rozaliesmit
Copy link
Copy Markdown

No description provided.

Comment thread src/main/java/Daisy.java Outdated
}
}

private static void invalidUnmarkTask(String input) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You might want to structure the classes into different folders.

Comment thread src/main/java/Daisy.java Outdated
} else if (input.startsWith("event")) {
invalidEventTask(input);
} else {
System.out.println("____________________________________________________________");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Avoid the usage of magic strings.

Comment thread src/main/java/Daisy.java Outdated
// Unmark task
private static void unmarkTask(int taskNumber) {
if (taskNumber > 0 && taskNumber <= taskCount) {
tasks[taskNumber - 1].markAsNotDone();
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Avoid the usage of magic numbers.

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