Skip to content
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

Matalkbt codereview #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Matalkbt codereview #3

wants to merge 3 commits into from

Conversation

matalkbt
Copy link
Collaborator

The stub definitely needs more developed to function. I left that up to you guys for the next sprint, as that would be a good goal. Use variables in the stub to actually develop those useful functions you made instead of hardcoding values to make the tests pass. I did a little clean up. But, it looks like a good outline of everything so far.

bipalgoyal and others added 3 commits October 10, 2021 20:46
…bt-codereview

# Conflicts:
#	src/main/java/com/enterprise/fastfoodapplication/service/FoodServiceStub.java
@Autowired

Choose a reason for hiding this comment

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

Why is this removed?

Comment on lines +17 to +20
/**
*
* @return
*/

Choose a reason for hiding this comment

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

Only add JavaDoc if it is providing value over and above what can be read from the method.

Comment on lines +57 to +60
/**
*
* @param order
*/

Choose a reason for hiding this comment

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

Only add JavaDoc if it is providing value over and above what can be read from the method.

Comment on lines +65 to +66
foodService.createFoodItem(food);
Food createdFood = foodService.getFoodItemById(Integer.parseInt(food.getFoodId()));

Choose a reason for hiding this comment

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

What is the purpose of this change? Cite sources that show how this aligns with best practices.

Food createFoodItem(Food food) throws Exception;
void createFoodItem(Food food);

Choose a reason for hiding this comment

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

Be wary of changing a contract as part of a code review.

@discospiff
Copy link

I don't see sufficient technical debt reduction in this branch to justify a merge.

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.

None yet

3 participants