-
Notifications
You must be signed in to change notification settings - Fork 437
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
[Wu Zeying] iP #428
base: master
Are you sure you want to change the base?
[Wu Zeying] iP #428
Conversation
load Duke.txt when duke starts and add in the new task into the Duke.txt.
Able to store previous list to the file duke.txt.
Store date as LocalDate and allow date conversion from yyyy-mm-dd format to MMM dd yyyy format,
* branch-Level-8: Add level 8 Store date as LocalDate and allow date conversion from yyyy-mm-dd format to MMM dd yyyy format, # Conflicts: # src/main/java/Deadline.java
# Conflicts: # data/duke.txt # src/main/java/Deadline.java # src/main/java/Duke.java # src/main/java/Event.java # src/main/java/UserInput.java
Allow user to create a new duke.txt if it does not exist at the first place.
New classes Parser(interpret user command), Storage(create file and store data), TaskList(list of tasks) and ui(response to users) are implemented.
All except Duke.java are in duke package now.
Junit to test the output of Todo and Deadline classes
Updates some of the coding styles especially switch and case
Able to search a single keyword and find the matching tasks in the TaskList.
* origin/add-gradle-support: Add Gradle support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few nicks to improve readability.
* | ||
* @return a TaskList with tasks stored in the txt file. | ||
*/ | ||
public TaskList load() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps a couple of line breaks in this function will improve readability?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried line break but 2103 style check alerts unnecessary line break tho.
Line matches the illegal pattern 'Trailing whitespace'. (16:0) [Regexp]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, very clean code and adhered to the CS2103T coding standards through and through!
…command is not out of scope.
…he user command is not out of scope." This reverts commit 76c9eec.
* 'branch-A-Assertions' of https://github.com/zeying99/ip: Try to re-PR
* branch-A-CodeQuality: Make the happy path more obvious # Conflicts: # src/main/java/duke/Parser.java
This reverts commit 37fcc83.
* 'master' of https://github.com/zeying99/ip: Add javadoc for findMatchingTask
…matches the item only partially.
* 'branch-A-stream' of https://github.com/zeying99/ip: no message merging pr
No description provided.