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

Added Undo and Redo Commands, Find Driver, Customer and Task, and View #233

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

Conversation

cheeyou
Copy link

@cheeyou cheeyou commented Nov 9, 2019

No description provided.

Copy link

@tysg tysg left a comment

Choose a reason for hiding this comment

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

  • Remove the empty Checkstyle and Task file in root
  • Add undo/redo for suggestcommand too
  • Add IDManager

}

int driverIndex = ParserUtil.parseId(trimmedArgs);
Driver driver = driverList.get(driverIndex - 1);
Copy link

Choose a reason for hiding this comment

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

Check for index out of bound error

Schedule deepCopySchedule = new Schedule();
for (EventTime eventTime : this.schedule) {
if (!(eventTime.equals(EventTime.parse("0000", START_WORK_TIME))
|| eventTime.equals(EventTime.parse(END_WORK_TIME, "2359")))) {
Copy link

Choose a reason for hiding this comment

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

 if (   (!eventTime.equals(EventTime.parse("0000", START_WORK_TIME)))
                    || (!eventTime.equals(EventTime.parse(END_WORK_TIME, "2359")))) 

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