-
Notifications
You must be signed in to change notification settings - Fork 117
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
[Ajay Shanker] iP #117
base: master
Are you sure you want to change the base?
[Ajay Shanker] iP #117
Conversation
- Level 1: Echo Task
- Cleanup messages - Add Scanner to read user input
- Add print promt as arrow
- Task: Level-2 Add,List
- simple task that has description and done flag
- Remove names from previous tasks
- Task Level-3: Add support to mark & unmark
src/main/java/Jarvis.java
Outdated
printBreakLine(); | ||
} | ||
|
||
/** |
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.
the comment clearly states the purpose and parameters of the functions
src/main/java/Task.java
Outdated
* | ||
* @return status icon of the task | ||
*/ | ||
public String getStatusIcon() { |
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.
well use of conditional operator to return status icon
src/main/java/Jarvis.java
Outdated
System.out.print(" "); | ||
} | ||
|
||
/** |
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.
defining different methods of printing give your code great readability
src/main/java/Jarvis.java
Outdated
* | ||
* @param status | ||
*/ | ||
private static void exit(int status) { |
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 like how you use system.exit to terminate the program
- Level 4 requirement
- Move non-related methods - Clean up switch case
- Remove commented code
- Update print list using stream
Cleanup UI
Update Docs readme
No description provided.