-
Notifications
You must be signed in to change notification settings - Fork 5
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
finished list /date /sort #218
Conversation
int finalActivityCount = noOfActivities; | ||
assert finalActivityCount == activityCount : "Index out of bounds while listing activities"; | ||
assert finalActivityCount >= activityCount : "Index out of bounds while listing activities"; |
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.
This assertion will cause it to fail as it will check that finalActivityCount >= activityCount. Since that is false it will cause the assertion to happen
@@ -42,6 +52,18 @@ public void loadFileContents(TravelActivityList list) throws FileNotFoundExcepti | |||
} | |||
} | |||
|
|||
/** |
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 job adding javadocs
*/ | ||
public void listTravelActivities(){ | ||
public void listTravelActivities(boolean sort, boolean filterDate, LocalDate 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.
Good enhancement to the current list feature
No description provided.