-
Notifications
You must be signed in to change notification settings - Fork 252
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
[AY1920S1-CS2113T-F11-2] Dolla #39
base: master
Are you sure you want to change the base?
[AY1920S1-CS2113T-F11-2] Dolla #39
Conversation
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.
Good progress so far, the team has written significant amount of features
These are the pointers that I saw:
- Enums can be used, especially for
Task
type - Commented code should be removed to improve readability
- Catch blocks should handle exceptions in a meaningful manner - https://stackify.com/best-practices-exceptions-java/ for tips on how to handle exceptions.
String modeToModify = mode.split(" ")[1]; | ||
if (modeToModify.equals("entry")) { | ||
if (verifyAddCommand() == true) { | ||
return new ModifyEntryCommand(inputArray[1], stringToDouble(inputArray[2]), inputArray[3], date); |
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.
1, 2, 3
index are magic numbers that can be replaced with variables
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.
Could you provide an example regarding this?
* Checks if the first word after 'add' is either 'income' or 'expense'. | ||
* @param s String to be analysed. | ||
* @return Either 'expense' or 'income' if either are passed in. | ||
* @throws Exception ??? |
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.
may want to specify exception type & details on it
PR was not tracked last week even though it was created a while back. |
Added dolla exception to handle dolla related exceptions
Adding tests
Added support for fully modifying limits, fixed bugs, and slightly refactored codebase.
rewrite verify debt command
# Conflicts: # src/main/java/dolla/parser/DebtsParser.java # src/main/java/dolla/parser/Parser.java
Added DebtList Test and Rewrite verifyDebtCommand
Updated Ui image in readme
Add test for ActionUi and DebtUi
Add Logging Support
Fixed bugs with view.
added UiTest
add bill to help
@yetong1895
@Weng-Kexin
@tatayu