Skip to content

[Yang Chenglong] iP - #46

Open
A11riseforme wants to merge 99 commits into
nus-cs2113-AY1920S2:masterfrom
A11riseforme:master
Open

[Yang Chenglong] iP#46
A11riseforme wants to merge 99 commits into
nus-cs2113-AY1920S2:masterfrom
A11riseforme:master

Conversation

@A11riseforme

Copy link
Copy Markdown

No description provided.

j-lum and others added 19 commits August 6, 2019 15:25
Add toolVersion block in to Gradle code sample to prevent errors.
Gradle defaults to an empty stdin which results in runtime exceptions
when attempting to read from `System.in`. Let's add some sensible
defaults for students who may still need to work with the standard
input stream.
Add configuration for console applications
The OpenJFX plugin expects applications to be modular and bundled
with jlink, resulting in fat jars that are not cross-platform. Let's
manually include the required dependencies so that shadow can package
them properly.
Comment thread src/main/java/Deadline.java Outdated
@@ -0,0 +1,15 @@
public class Deadline extends Task {
protected String byTime;
protected String typeIcon;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe you could remove the additional whitespace for line 3

Comment thread src/main/java/Duke.java Outdated
private static final String LOGO = " __ __ _ __ \n" +
" /\\ /_ /_ | (_) / _| \n" +
" / \\ | || |_ __ _ ___ ___| |_ ___ _ __ _ __ ___ ___ \n" +
" / /\\ \\ | || | '__| / __|/ _ \\ _/ _ \\| '__| '_ ` _ \\ / _ \\\n" +

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good Job! Nice Logo!

Comment thread src/main/java/TaskManager.java Outdated
Comment on lines +4 to +11
private static final String LINE_DIVIDER = " ____________________________________________________________";
private static final String LIST_TASKS_PROMPT = " Here are the tasks in your list:";
private static final String DONE_TASKS_PROMPT = " Nice! I've marked this task as done:";
private static final String ADD_TASKS_PROMPT = " Got it. I've added this task:";
private static final String ADD_TASKS_POST_PROMPT = " Now you have %d tasks in the list.\n";
private static final String LIST_SINGLE_TASK_MESSAGE = " %d.%s\n";
private static final String ADD_SINGLE_TASK_MESSAGE = " %s\n";
private static final String DONE_SINGLE_TASK_MESSAGE = " %s\n";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Perhaps you can consider consolidating all the magic numbers/strings into a .class file

Comment thread src/main/java/Task.java Outdated
Comment on lines +4 to +5
protected static final String yesIcon = "[\u2713]";
protected static final String noIcon = "[\u2718]";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can consider consolidating these into a .class file and import the file when needed

Comment thread src/main/java/Event.java Outdated
@@ -0,0 +1,15 @@
public class Event extends Task {
protected String time;
protected String typeIcon;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Additional Whitespace

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.

4 participants