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

Applicable Refactoring Methods #3

Open
RommelZamora opened this issue Aug 19, 2023 · 0 comments
Open

Applicable Refactoring Methods #3

RommelZamora opened this issue Aug 19, 2023 · 0 comments

Comments

@RommelZamora
Copy link

Buenas noches,
El codigo señalado presenta errores en su escritura por lo que se recomienda un cambio de esta manera:

Inline Class: La clase “CodeExit” cuenta con el code smell “Lazy Class” mencionado anteriormente. Una solución para esto es utilizar el método Inline Class para mover el método “out()” a la clase main ya que es el único lugar donde se utiliza.

Antes:
image

Despues:
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