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

[Gao Gui] iP #115

Open
wants to merge 59 commits into
base: master
Choose a base branch
from
Open

Conversation

Perpetual09
Copy link

No description provided.

Comment on lines 13 to 15
return "[D]" + super.toString() + " (by: " + by.getMonth().toString().substring(0, 3) + " " +
by.getDayOfMonth() + " " + by.getYear() + " " +
String.format("%d:%d)", by.getHour(), by.getMinute()) + ")";

Choose a reason for hiding this comment

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

I think placing the '+' in front of every line is better.

protected LocalDateTime by;

/**
* Constructs an event with a deadline.

Choose a reason for hiding this comment

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

It would be better to leave a line after the description.

Copy link

@patricktan6 patricktan6 left a comment

Choose a reason for hiding this comment

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

LGTM. Just some nits to be fixed.
Overall I like your coding style as it is easy to read and the method names are easy to understand.

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

3 participants