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

Refactoring propose using Extract Variable #1

Open
rexman10 opened this issue Aug 10, 2022 · 0 comments
Open

Refactoring propose using Extract Variable #1

rexman10 opened this issue Aug 10, 2022 · 0 comments

Comments

@rexman10
Copy link

rexman10 commented Aug 10, 2022

Located in PizzaShop.java
Line 197, 198
The boolean expression contained inside the while is difficult to understand at first sight, so its extracted with a name that explains it.

Method State before refactoring:

image

Method State After refactoring

image

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

No branches or pull requests

1 participant