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

Refactorizar método run() de ThreadServer.java #10

Open
TrveFenris opened this issue Feb 23, 2017 · 0 comments
Open

Refactorizar método run() de ThreadServer.java #10

TrveFenris opened this issue Feb 23, 2017 · 0 comments

Comments

@TrveFenris
Copy link
Contributor

En lugar de usar un switch, ver si se puede directamente castear o utilizar instanceof para determinar el subtipo de Paquete recibido por el Thread.

Esto conllevaría "deprecar" el enum de tipos de Paquete, que ya no sería necesario.

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