Skip to content

Conversation

RMillerCohort251
Copy link
Contributor

Updated existing code to add exceptions.

+ order.getProduct().getName()
+ ", Quantity: "
+ order.getQuantity();
public String checkOrderStatus(String id) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Took a long time to understand what you were doing here. Could've essentially solved this in three lines of code (just check if the order is null).

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.

2 participants